|
From: pban92 <pb...@ya...> - 2011-03-07 17:25:40
|
I have two things to solve and would highly appreciate if someone can help me. 1. gnuplot default key is appeared "top to bottom" -wise. This is a problem as in http://old.nabble.com/file/p31089605/gnukey1.jpg To avoid this, how can I modify/break key something like this? http://old.nabble.com/file/p31089605/gnukey2.jpg 2. Like 'hold' in matlab, is their any equivalent option that allows to plot two graphs on the same window? For example, instead the following two lines, plot “case097.cor” every 2 t ‘S1' w p, \ “case105.cor” every 2 t ‘S2' w p How can I plot like, plot “case097.cor” every 2 t ‘S1' w p # plot on screen <is there any option?> plot “case097.cor” every 2 t ‘S1' w p # plot on the previous screen without deleting previous plot (Please ask me if my problem is not clear) Many thanks! -- View this message in context: http://old.nabble.com/how-to-break-key-and-plotting-tp31089605p31089605.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: Hans-Bernhard B. <HBB...@t-...> - 2011-03-07 23:39:53
|
On 07.03.2011 18:25, pban92 wrote: > > I have two things to solve and would highly appreciate if someone can help > me. > > 1. gnuplot default key is appeared "top to bottom" -wise. This is a problem > as in http://old.nabble.com/file/p31089605/gnukey1.jpg The key is the least of your worries with that plot. It's quite completely unreadable. > To avoid this, how > can I modify/break key something like this? > http://old.nabble.com/file/p31089605/gnukey2.jpg You would need the development version of gnuplot for that, which has a 'maxrows' option for 'set key'. OTOH, you might be better of with just keeping the key out of the plotting area, where you don't have to worry about it occluding your data: set key outside > 2. Like 'hold' in matlab, is their any equivalent option that allows to plot > two graphs on the same window? For example, instead the following two lines, > > plot “case097.cor” every 2 t ‘S1' w p, \ > “case105.cor” every 2 t ‘S2' w p > > How can I plot like, > > plot “case097.cor” every 2 t ‘S1' w p # plot on screen > <is there any option?> > plot “case097.cor” every 2 t ‘S1' w p # plot on the previous screen > without deleting previous plot You're looking for 'multiplot' there. |
|
From: Thomas S. <t.s...@fz...> - 2011-03-08 08:25:50
|
i had a look at the newest gnuplot version, 4.4.3, "announce.4.4.3" says: * NEW set key maxcolumns N maxrows M so these command options are now the official version. Hans-Bernhard Bröker-2 wrote: > > On 07.03.2011 18:25, pban92 wrote: >> >> I have two things to solve and would highly appreciate if someone can >> help >> me. >> >> 1. gnuplot default key is appeared "top to bottom" -wise. This is a >> problem >> as in http://old.nabble.com/file/p31089605/gnukey1.jpg > > The key is the least of your worries with that plot. It's quite > completely unreadable. > >> To avoid this, how >> can I modify/break key something like this? >> http://old.nabble.com/file/p31089605/gnukey2.jpg > > You would need the development version of gnuplot for that, which has a > 'maxrows' option for 'set key'. OTOH, you might be better of with just > keeping the key out of the plotting area, where you don't have to worry > about it occluding your data: > > set key outside > >> 2. Like 'hold' in matlab, is their any equivalent option that allows to >> plot >> two graphs on the same window? For example, instead the following two >> lines, >> >> plot “case097.cor” every 2 t ‘S1' w p, \ >> “case105.cor” every 2 t ‘S2' w p >> >> How can I plot like, >> >> plot “case097.cor” every 2 t ‘S1' w p # plot on screen >> <is there any option?> >> plot “case097.cor” every 2 t ‘S1' w p # plot on the previous >> screen >> without deleting previous plot > > You're looking for 'multiplot' there. > > > ------------------------------------------------------------------------------ > What You Don't Know About Data Connectivity CAN Hurt You > This paper provides an overview of data connectivity, details > its effect on application quality, and explores various alternative > solutions. http://p.sf.net/sfu/progress-d2d > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://old.nabble.com/how-to-break-key-and-plotting-tp31089605p31095168.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |