|
From: Ethan M. <eam...@gm...> - 2013-05-09 14:25:48
|
On Thursday, 09 May 2013, Mahmood Naderan wrote: > Hi > I have two *data files* and want to open them with one instance of gnuplot. Both of the files are single columned. If I run this command: > > plot "data1.txt" using 1 > plot "data2.txt" using 1 > > The result is that the second will replace the first one. The naiive solution is to open another terminal and plot the second one. > What I want is this sequence > > plot "data1.txt" using 1 > <first chart is opened in a new window and the console returns to gnuplot> > plot "data2.txt" using 1 > <second chart is opened in a new window and the console returns to gnuplot> set term wxt 1 plot 'data1.txt' using 0:1 set term wxt 2 plot 'data2.txt' using 0:1 Or x11 or qt depending on what terminal type you are using. > > As a result I have to chart windows in one gnuplot. > > > Searching the documents and internet, there are examples for a single data file with two columns. So it is easy to open two chart windows in one gnuplot. But that is not my case. > > Is there any way to do that? > > > Regards, > Mahmood > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and > their applications. This 200-page book is written by three acclaimed > leaders in the field. The early access version is available now. > Download your free book today! http://p.sf.net/sfu/neotech_d2d_may > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > |