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: Ben Abbott
Subject: Re: scaling issues with saved plots
Date: Mon, 11 Jun 2012 08:08:52 -0400

On Jun 10, 2012, at 11: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

I've attached the version the current sources for Octave produces.

3.2.4 is quite old. Are you able to update to a newer version (3.6.2 was just 
released).

Ben

Attachment: circle.pdf
Description: Adobe PDF document






reply via email to

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