![]() |
Gnuplot-Pyxplot indexing symbols and colors for large datasets?
Hi, I discovered the potential of Gnuplot and Pyxplot few days ago and really would like to start using it, but got already stuck for a first very simple problem even though searching my way through google and documentation...After more than 5 hours trying I would really appreciate some help.
I have a file with four columns: x, y, index number for symbol type, index number for fillcolour. x and y are single data points. I would like to plot them in a 2D scatter plot and the program to recognize for each data point a symbol type and a colour from my table columns. The goal is to have groups of data with same symbol and colours by only preparing one table with four columns ------------------------------ table e.g. x y symbol colour '1.1' '2.1' '1' '3' '1.2' '2.2' '2' '4' ----------------------------- my script would start like: set xlabel "x" set ylabel "y" set xrange [1:1.5] set xtics 1, 0.1 plot 'data.csv' using 1:2:3:4 with points fillcolor variable ----------------------------------- column 3 would indicate the symbol type and column 4 the symbol fillcolour. Its my first post here, sorry if its not clear. |
| All times are GMT -5. The time now is 10:57 PM. |