help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: scaling issues with saved plots


From: Robert T. Short
Subject: Re: scaling issues with saved plots
Date: Mon, 11 Jun 2012 06:16:23 -0700
User-agent: Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120428 Thunderbird/12.0.1

On 06/10/2012 08:57 PM, Ron Crummett wrote:
Hello -

This is a simple code snippet:

theta = 2*pi*[0:0.01:1];
plot(cos(theta), sin(theta));
axis equal;
print('circle.eps', '-depsc');

Pretty straightforward, right? Should plot out a circle within the axes, and then scaled so that it looks like a circle. But when I save it - whether as .eps or some other format - the image is compressed horizontally.

I'm sure that this is related to gnuplot more than octave, but I'm not sure what to do to fix it. Any ideas? I'm running 3.2.4.

Thanks in advance,

-Ron


_______________________________________________
Help-octave mailing list
address@hidden
https://mailman.cae.wisc.edu/listinfo/help-octave
This is a gnuplot problem.  Older gnuplot couldn't handle anything but 4/3 aspect devices.  The workaround is to play with the axis scaling until it looks right instead of using "axis square" (yech).

Bob

reply via email to

[Prev in Thread] Current Thread [Next in Thread]