|
From: Thomas S. <t.s...@fz...> - 2009-09-14 12:48:05
|
do you have a 'set output' at the end of your plot sequence? http://www.gnuplot.info/faq/faq.html#SECTION00096000000000000000 Colin Alie wrote: > > Hello, > > I'm trying to create a multiplot with ten subplots using the pslatex > terminal. My multiplot block looks something like the following: > > ---- <begin code> ---- > set terminal pslatex color size 16cm,23cm > set output 'multiplot.tex' > > set style data histograms > set style fill solid noborder > set style histogram clustered gap 3 > set nokey > > set multiplot > set size 0.5,0.2 > > set title 'Plot 1' > set origin 0.0,0.8 > plot 'datafile1.txt' using 2 notitle with histograms linecolor rgbcolor > "black", '' using 3 notitle with lc rgbcolor "grey60" > > set title 'Plot 2' > set origin 0.5,0.8 > plot 'datafile2.txt' using 2 notitle with histograms linecolor rgbcolor > "black", '' using 3 notitle with histograms linecolor rgbcolor "grey60" > > set title 'Plot 3' > set origin 0.5,0.8 > plot 'datafile3.txt' using 2 notitle with histograms linecolor rgbcolor > "black", '' using 3 notitle with histograms linecolor rgbcolor "grey60" > . > . > . > unset multiplot > > ---- <end code ---- > > where, for brevity, I've omitted the definitions for Plots 4 through 10. > > When I run this using gnuplot (v4.2 patchlevel 4), the last eight plots > have only plot titles and axes labels --- no histograms. The problem > stems from specifying linecolor on the plot command: > > 1. Specifying a linecolor on one plot command is O.K.. All ten plots > are correctly drawn. > > 2. Specifying a linecolor on two plot commands causes problems. All > plots after the second plot command containing a linecolor specification > have only plot titles and axes labels drawn. > > So, if I specify a linecolor on the first and second plot commands, the > first two plots are fully drawn. If I specify a linecolor on the first > and third plot commands, the first three plots are fully drawn. The > rest of the plots have only plot titles and axes labels. > > Other terminals I've tried (i.e., postscript and emf) behave properly. > > Does anyone have some insight into the cause of the problem and how to > fix it? > > Until next time, Colin. > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gnuplot-info mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://www.nabble.com/Plots-missing-in-multiplot-using-pslatex-terminal-with-macros.-tp25434387p25435103.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |