|
From: levent <sub...@ya...> - 2010-04-07 21:45:19
|
I am plotting two multiplot figures in standalone from a script. the first figure is fine, however, the second gets a bad bbox in file2-inc.eps and the resulting eps shows only the first plot. the second plot of the second file has only labels and numbers. thanks in advance, levent gnuplot << EOF set term epslatex standalone color set pm3d map set out "$file1.tex" set multi set size .5,1 set origin 0,0 spl Ek1(x,y) set origin 0.5,0 spl nk1(x,y) unset multi set out "$file2.tex" set multi set size .5,1 set origin 0,0 spl Ek2(x,y) set origin 0.5,0 spl nk2(x,y) unset multi EOF latex $file1.tex; dvips -E $file1.dvi -o $file1.eps latex $file2.tex; dvips -E $file2.dvi -o $file2.eps |
|
From: Thomas S. <t.s...@fz...> - 2010-04-09 15:51:15
|
did you close the output file before running latex? see http://www.gnuplot.info/faq/faq.html#SECTION00096000000000000000 levent-6 wrote: > > > I am plotting two multiplot figures in standalone from a script. the first > figure is fine, however, the second gets a bad bbox in file2-inc.eps and > the > resulting eps shows only the first plot. the second plot of the second > file has > only labels and numbers. > > thanks in advance, > levent > > gnuplot << EOF > set term epslatex standalone color > set pm3d map > set out "$file1.tex" > set multi > set size .5,1 > set origin 0,0 > spl Ek1(x,y) > set origin 0.5,0 > spl nk1(x,y) > unset multi > > set out "$file2.tex" > set multi > set size .5,1 > set origin 0,0 > spl Ek2(x,y) > set origin 0.5,0 > spl nk2(x,y) > unset multi > EOF > latex $file1.tex; dvips -E $file1.dvi -o $file1.eps > latex $file2.tex; dvips -E $file2.dvi -o $file2.eps > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://old.nabble.com/epslatex-multiple-multiplot-bbox-problem-%28gnuplot-4.2%29-tp28183623p28191266.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: levent <sub...@ya...> - 2010-04-10 10:33:39
|
Thomas Sefzick <t.sefzick <at> fz-juelich.de> writes: > did you close the output file before running latex? > see > http://www.gnuplot.info/faq/faq.html#SECTION00096000000000000000 yes, I tried that but the same problem remains. I think since I specify new output for the next plot, it must close the previous one. (I also have a third and fourth.) I am sure the issue is with bounding box. When I do the plots separately everything is fine. I prefer to have a single script though, since I define some functions etc. common to a bunch of figures. I also tried to pass file2-inc.eps through fixbb but then the margins are gone and the labels and axes don't fit right when I run latex. but both plots of the multiplot show on the figure, placed off along the diagonal to the lower left corner. |
|
From: Thomas S. <t.s...@fz...> - 2010-04-11 14:11:09
|
set 'size' and 'origin' to their default values before entering the multiplot mode a 2nd time: set size 1,1 set origin 0,0 set multiplot levent-6 wrote: > > > Thomas Sefzick <t.sefzick <at> fz-juelich.de> writes: > >> did you close the output file before running latex? >> see >> http://www.gnuplot.info/faq/faq.html#SECTION00096000000000000000 > > yes, I tried that but the same problem remains. I think since I specify > new > output for the next plot, it must close the previous one. (I also have a > third > and fourth.) I am sure the issue is with bounding box. When I do the plots > separately everything is fine. I prefer to have a single script though, > since I > define some functions etc. common to a bunch of figures. I also tried to > pass > file2-inc.eps through fixbb but then the margins are gone and the labels > and > axes don't fit right when I run latex. but both plots of the multiplot > show on > the figure, placed off along the diagonal to the lower left corner. > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://old.nabble.com/epslatex-multiple-multiplot-bbox-problem-%28gnuplot-4.2%29-tp28183623p28208888.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |
|
From: levent <sub...@ya...> - 2010-04-11 17:35:28
|
thanks a lot, it worked! |