|
From: Thomas S. <t.s...@fz...> - 2011-09-05 09:23:21
|
'maxrows' is not really needed, it produces two columns of keys. if you need this, upgrade to gnuplot 4.4 'notitle' suppresses the key for the specific plot. '0/0' means 'undefined' (you could also use 'NaN') and results in a plot which is empty but has a key which you may change via the 'title' option. alpinito1 wrote: > > Hello and thank you for your reply. > > I tried what you proposed but I get a message: > > undefined variable: maxrows > > I use gnuplot 4.2 patchlevel 4. > > Otherwise, I tried to plot the empty plots, but I dont know why any key > appears... > > Thank you in adavance > > Best regards, > > Daniel > > > Thomas Sefzick wrote: >> >> plot the 12 curves with option "notitle" and add 4 plus 3 empty plots >> with titles: >> >> set key maxrows 4 >> plot ... , 0/0 linetype 1 linecolor 1 title "method 1", 0/0 lt 1 lc 2 >> title "method 2", ... >> >> >> alpinito1 wrote: >>> >>> Hello, >>> >>> I have a set of curves, imagine I have 4 methods and for each method I >>> have 3 test case. >>> >>> What I want is to plot the 12 curves (4*3) in the same figure, using 4 >>> different colors (one for each method), and 3 different line type (one >>> for each test case). I want to have two keys (legends) one for the >>> colors and one for the line type. >>> >>> I hope you understand my question, >>> >>> Thank you in advance. >>> >>> Best regards, >>> >>> Daniel >>> >> >> > > -- View this message in context: http://old.nabble.com/How-to-create-two-keys-%28legends%29-in-the-same-plot-tp32385323p32399649.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |