Question: plot tickmarks error

March 24 2014 delta7 118

0

Hi,

I'm getting an error when I try to

plot(sin(x), x = -1..1, color = darkblue,tickmarks=[spacing(0.25),subticks=2]);

The error is
Error, (in plot) expecting option tickmarks to be of type list({"default", "piticks", "decimalticks", "pidefault", nonnegint, list(realcons), list(realcons = anything), spacing(realcons), spacing(realcons, realcons)}) but received [spacing(.25), subticks = 2]

What exactly am I doing wrong? After all, [...] is a list.

Even more confusingly, tickmarks=[[spacing(0.25),subticks=2],default] doesn't work either.

Any help appreciated!

Please Wait...