[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Axis labels in EPS figure are outside bounding box
From: |
Bryan Wilcox |
Subject: |
Re: Axis labels in EPS figure are outside bounding box |
Date: |
Sat, 17 Oct 2009 16:43:31 -0500 |
I can confirm this issue on a Mac Air running
Mac OS X 10.5 Leopard
Octave 3.2.0
gnuplot 4.2 patch level 5
In general, axis labels are cut-off in figures generated running the
plot command from Octave. If the data is exported via
------------------------------------
save -ascii plot.dat plotvar;
------------------------------------
where 'plotvar' is a nx2 matrix with the first column the x-data and
the second column the y-data, then plotted using gnuplot directly
(either via command line or batch file) the plots look just fine.
Regards,
Bryan
2009/10/17 Matthias Brennwald <address@hidden>:
> Dear all
>
> The below code example produces an eps file containing a simple figure. The
> resulting eps file is attached. The problem is that the axis labels are cut
> off, i.e. they are partially outside the bounding box of the figure. What am
> I doing wrong? What can I do to circumvent this problem?
>
> (Octave 3.2.0 on Mac OS X 10.5, gnuplot 4.2 patchlevel 5)
>
> ---------------
> plot (sin ([0:100]/10)); axis ([0 100 -1.1 1.1]);
> fs = 18;
> set (gca,'fontsize',fs);
> xlabel ('x label','fontsize',fs);
> ylabel ('y label','fontsize',fs);
> print ('testy.eps','-depsc','-S500,400');
> ---------------
>
>
>
>
> ----
> Matthias Brennwald, Käferholzstrasse 173, CH-8046 Zürich, +41 44 364 17 03
>
>
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>
>