|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Multiplot: Size of plots varies?Hello everyone..
I am trying to get a multiplot consisting of 1 row with 3 columns. I set the size of all three plots in the same manner but the first plot in the row is smaller than the other two? I can't spot the mistake. Can anyone help? I am using gnuplot 4.2 Patchlevel 2. Here is my script: reset set term pdf enhanced size 13cm,5cm set output '3p_fields_e2min.pdf' set title "{/Symbol h}_2=(1-{/Symbol r}_0)/2" set xlabel "Tuning [deg]" set ylabel "Power [a.u.]" set xrange [-90:90] set multiplot layout 1,3 set origin 0,0 set size 0.33,1 plot '3p_fields_e2min.dat' usi ($1):($3) ti "|b_2'|^2" w l set origin 0.33,0 set size 0.33,1 plot '3p_fields_e2min.dat' usi ($1):($4) ti "|a_1'|^2" w l set origin 0.66,0 set size 0.33,1 plot '3p_fields_e2min.dat' usi ($1):($2) ti "|b_1'|^2" w l unset multiplot set term aqua |
|
|
Re: Multiplot: Size of plots varies?this strange behaviour occurs with the pdf-lib based
pdf-terminal (not with pdfcairo). and it occurs only when there is enhanced text in the plot key. for the first plot the margins are calculated differently from those of the two other plots.
|
|
|
Re: Multiplot: Size of plots varies?Hello,
I managed to get the same size of the subplots by fixing the margins, done by adding the lines: set lmargin 10 set rmargin 2 you can see the webpage: http://t16web.lanl.gov/Kawano/gnuplot/plot1-e.html , for more info. Cheers Erik
|
| Free embeddable forum powered by Nabble | Forum Help |