On Wed, Sep 22, 2010 at 3:27 PM, Schwab,Wilhelm K <bsch...@anest.ufl.edu> wrote: > Is there any bit arithmetic behind this from the manual: > > axis = -2: No box or annotation. > axis = -1: Draw box only. > axis = 0: Draw box, labeled with coordinate values around edge. > axis = 1: In addition to box and labels, draw the two axes X = 0 and Y = 0. > axis = 2: Same as axis = 1, but also draw a grid at the major tick interval. > axis = 10: Logarithmic X axis, linear Y axis. > axis = 11: Logarithmic X axis, linear Y axis and draw line Y = 0. > axis = 20: Linear X axis, logarithmic Y axis. > axis = 21: Linear X axis, logarithmic Y axis and draw line X = 0. > axis = 30: Logarithmic X and Y axes. > > I am wondering whether I should define the values above, or if there are more > fundamental values that should then be combined to create the parameter > value?? Is there a way to get ticks without labels? > > My question is in the spirit of hopefully setting up a condition consistent > with "it's better to be lucky than good." I don't have a specific problem > in mind; instead, I am reaching a point where I would naturally start to > create what Smalltalk programmers call a pool dictionary, and want to get it > right from the beginning (less to undo later). >
Bill, The axis arguments are, from what I understand, built somewhat as they go. The first digit generally groups the options in to broad categories, with the second specifying more detail. If you want detailed control over the axis options you can use the -2 option for the axis (or specify the plot window manually using plwind - see PLplot example 1 and several others). You can then use plbox to draw the bounds and tick marks for the plot window, potentially applying different options to each axis. In addition to a fairly raw binding of the plbox function, the OCaml bindings have an interface to specify a list of custom axis options (Major_grid, Minor_grid, Major_ticks, Minor_ticks, ...) which map to the characters which make up an underlying plbox option string. Something similar may work for Smalltalk as well. Hope this helps, Hez ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel