octave-maintainers
[Top][All Lists]
Advanced

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

Re: ascpect


From: Peter Plessas
Subject: Re: ascpect
Date: Mon, 27 Jul 2009 15:05:00 -0700
User-agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103)

Dear Robert, list

set(gca, "outerposition", [0 -0.1 1 1.2])

finally helped.
It really seems that the window size and ratio of gnuplot does not correct for the monitor resolution. Would be great is someone had a look at this. But nevermind: I am currently writing my thesis using octave a lot and i want to thank all the developers and the whole comunity for their great work! Octave is such a great environment!

cheers,
Peter

Robert T. Short wrote:
Peter Plessas wrote:
Bob, found your thread on the octave mailing list!

How exactly did you set the monitor aspect ratio with "set ratio" to plot perfect circles? Did you do that in octave or in gnuplot? I have the same problem over here and spent already a day on it. :-)

thanks for any pointers!

Peter


Hi Peter,

I am posting this to the octave developer's list as well since someone else might have the same problem.

Nasty little problem. I need to file a gnuplot bug report but haven't done so yet. Their aspect computation seems fundamentally flawed.

On an X11 terminal, the aspect ratio is dependent not just on the graphics terminal itself but on the size of the window gnuplot opens. The video driver on my laptop returns the wrong values so it is even worse.

 From octave, do the following

set(gca, 'dataAspectRatio', [1 somenumber 1])

For "square", somenumber should be 1, but for some terminals it doesn't work.

Use something like 1.1 for somenumber and then play until you get the aspect ratio you want. Takes a few tries, but isn't really hard.

The properties can be found under "Plotting" in the info pages.

Bob





reply via email to

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