|
From: Colin A. <ca...@uw...> - 2009-09-14 11:45:49
|
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. |