octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #45725] doc says that get(gca, "ytick") return


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #45725] doc says that get(gca, "ytick") returns a 1x6 vector but 1x4 returned
Date: Sat, 08 Aug 2015 21:09:36 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.1.0

Update of bug #45725 (project octave):

                Category:                Plotting => Documentation          
              Item Group:        Incorrect Result => Incorrect Documentation
                  Status:                    None => Need Info              

    _______________________________________________________

Follow-up Comment #1:

You're referring to the "def. 1-by-6 double" label in the manual, right?

This came about as a result of bug #42536 that you helped work on to ensure
that the graphics properties show the correct default values. The "1-by-6
double" is supposed to be the way it's showing you the default value, but not
that it always has to be a 1-by-6 vector.

The property can be completely arbitrary, depending on whether the axes is
labeled manually or automatically:


octave:16> plot (randn (100, 1));
octave:17> get (gca, "ytick")
ans =

  -3  -2  -1   0   1   2   3

octave:18> set (gca, "ytick", 0)
octave:19> get (gca, "ytick")
ans = 0



Do you want to update how this is described in the manual?

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45725>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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