help-octave
[Top][All Lists]
Advanced

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

Re: Property markerstyle


From: Andy Buckle
Subject: Re: Property markerstyle
Date: Sun, 12 Apr 2015 18:48:33 +0100



On 12 April 2015 at 18:07, Leticia Peña <address@hidden> wrote:
Hi,

When I try to graph with the following line:

                 plot(cm_x,cm_y,"color",'k',"markerstyle",'*',"markersize",10);

I get this error:

                 error: get: unknown line property markerstyle

However, the markerstyle property exists in the help. When I write 'help plot' in the command line, I get this:

....................................................................................................

     markerstyle

          '+'  crosshair
          'o'  circle
          '*'  star
          '.'  point
          'x'  cross
          's'  square
          'd'  diamond
          '^'  upward-facing triangle
          'v'  downward-facing triangle
          '>'  right-facing triangle
          '<'  left-facing triangle
          'p'  pentagram
          'h'  hexagram


.............................................

I can even imagine what might be the error in my code. I do not think it is a problem of libraries, because I can use without any problem other properties for plotting, such us color, linewidth or linestyle...

... 'marker','*', ...


I figured this out by doing

h=plot(...)
set(h)

which gives you a list of the field names. I used Octave 3.6.4.

--
/* andy buckle */

reply via email to

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