print ignores object properties in 3d

Ben Abbott bpabbott at mac.com
Wed Nov 12 18:44:19 CST 2008


On Nov 12, 2008, at 2:19 PM, David Donovan wrote:

> Hi All,
>
> I have what I believe to be a small problem that I hope someone can
> help me with.
>
> I'm trying to plot a 3d surface using Octave octave-3.0.2 for Mac OS X
> (Octave.app), and my z-axis labels are getting cut off when I try to
> print to a file.
>
> I am able to make them look okay in the gnuplot display window by  
> using
>
> set(gca(), "defaultaxesouterposition", [0.1,0.1,0.9,0.9])
>
> However, print -deps "foo.eps" , simply ignores this option and plots
> it in the default manner.
>
> Do hardcopy devices have some other hidden axis properties somewhere?
> Am I missing something here?
>
> Forgive me if this comes up regularly, but my due diligence of
> searching the mailing list didn't turn anything up.
>
> Cheers,
> David Donovan


I'm on Mac OSX as well and have been working on incorporating more of  
the figure/axes properties into the gnuplot backend. Can  you provide  
a simple example of the problem?

Something like the following

 > sombrero;
 > print -dpdf sombrero.pdf

I'm able to run 3.03 and the developers sources. Each produce the  
correct result.  Perhaps you are using a different -dDevice?

For reference please tell us what version of gnuplot you have installed

 > system ("gnuplot --version")

 From the Octave prompt, I get "gnuplot 4.3 patchlevel 0"

Ben




Ben





More information about the Help-octave mailing list