On 06/11/2012 06:16 AM, Robert T. Short wrote:
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
_______________________________________________
Help-octave mailing list
address@hidden
https://mailman.cae.wisc.edu/listinfo/help-octave
BTW, this issue isn't entirely fixed in 3.6.2.
|