plot issues [changeset for log format of axes]

John W. Eaton jwe at octave.org
Thu Jun 4 12:02:12 CDT 2009


On  4-Jun-2009, Ben Abbott wrote:

| For both colorbars as well as log/semilogy plots, this produces the  
| proper result for me.
| 
| Please verify this works as expected for you as well.

| +  if (strncmpi (scale, "lo", 2))

Please use

  strcmp (scale, "log")

instead.  If we modify Octave to accept the shortest case-insensitive
match for radio property values, we will also ensure that the property
value is set to the full value with lower-case letters.  So

  set (gca (), "yscale", "lin")
  set (gca (), "yscale", "linea")
  set (gca (), "yscale", "LIN")

etc. will all result in

  get (gca (), "yscale")

returning "linear".

jwe


More information about the Bug-octave mailing list