octave-maintainers
[Top][All Lists]
Advanced

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

Re: 2.9.10, finally?


From: John W. Eaton
Subject: Re: 2.9.10, finally?
Date: Thu, 8 Feb 2007 20:52:50 -0500

On  8-Feb-2007, Daniel J Sebald wrote:

| Regarding the axis limits, let me ask if the following is proper behavior:
| 
| plot([0:3])
| set(get(3,"currentaxes"),"xlim",[-1 5])

I think it would be better to write

  set (gca, "xlim", [-1, 5])

| plot([0:3])
| 
| The first plot autoranges.  The result of the set is a plot whose x range is 
-1 to 5.  The second plot goes back to an xrange of 0 to 3.  Is that right?

Yes.

jwe


reply via email to

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