|
From: | Michael D Godfrey |
Subject: | Re: Scale problem using plot() |
Date: | Mon, 25 Oct 2010 08:15:10 -0700 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100921 Fedora/3.1.4-1.fc13 Thunderbird/3.1.4 |
On 10/25/2010 01:12 AM, Ben Abbott wrote:
Maybe I was not clear: I think that the axes are correct, but the first yaxis point (56) should have its valueSo, I think gnuplot and matlab are doing the what is intended (i.e. no bug) ... at least they seem to do the correct thing for this example. shown like the others and like occurs in other cases. The fact that matlab gets this wrong is a clear bug in matlab which should not be implemented in Octave. Anyone reading the graph would like to know what the axis limits are. I am confused here. When I execute:The scaling of the axes is determined by the "xlim" and "ylim" property values. The values of the tickmarks aren't intended to serve that function. set (gca (), "ytick", [56 70 84 98 112 126 140]) the scales change appropriately. Do I need to set xlim and ylim separately? Michael |
[Prev in Thread] | Current Thread | [Next in Thread] |