if you want a larger plot don't 'set size 1.5,1.5' instead
'set terminal latex size 7.5in,4.5in'
(works for gnuplot version >= 4.2.2)
see
http://www.gnuplot.info/docs/node230.html
especially the section about scale values > 1
LukasP wrote:
>
> Hello,
>
> I have problem scaling plots generated by GNUPlot for LaTeX.
>
> All later mentioned files are attached.
>
> I have a simple datafile which with "x y1 y2 y3" (t.txt). I can transform
> it simply via t.gnuplot into two .tex input files: a.tex and b.tex; the
> difference is that the former uses the default GNUPlot picture size,
> whilest the latter calls "set size 1.5,1.5" before creating b.tex. Thus
> the latter should be scaled.
>
> You can see the result (t.tex -> pdflatex -> t.pdf), there are four plots,
> the 1st and the 3rd drawn by a.tex, the 2nd and the 4th by b.tex. They are
> drawn on A4 paper - portrait and landscape.
>
> The problem is that in scaled plots, there are some axis labels missing.
> The not scaled plot has x- and y-axis described -30000-30000 and 0-450 but
> the scaled one -30000-0 and 0-250 (?).
>
> So the question is: How to correct (fill) labels in scaled plots?
>
> Thank you in advance.
>
> Lukas
>
> NB:
>
> I'm searching for the solution to plot datafiles to landscape A4 (e.g.
> rotated, to fill the whole area of the paper). And the simplest way for me
> seems to use the "lscape" package (as shown in the t.tex/t.pdf) and to
> scale the desired plot by "set size ..." command in GNUPlot environment.
>
> Other ways (e.g. using the gnuplottex package in LaTeX) did not lead to
> the desired result. And I cannot use graphical format (e.g. .png) + LaTeX
> due to problems with diacritics (czech language).
>
> http://old.nabble.com/file/p26136885/t.zip t.zip
>
--
View this message in context: http://old.nabble.com/Unexpected-output-for-LaTeX-when-using-%22set-size-...%22-tp26136885p26137451.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|