ylabel_secondary option ?



El mar, 03-09-2013 a las 20:36 +0000, Leo Butler escribi?:
> Sorry, Mario, these two examples use yaxis_secondary, but they do not
> set the label on that axis. 

Excuse me, I didn't read your post carefully. You are right, there isn't
such an option in package draw. At this moment, you have to use
user_preamble.


> Yes, I noticed that information about the available terminals is in
> the body of a couple different functions. I wonder if that code could
> be put in a hash-table, and some work done by dispatching on the hash
> key, rather than in a big cond statement as at present?

Time ago I started to change how options are processed in draw. I
stopped working on these changes when I started writing the Vtk
interface, and as a result not all options are handled the same way.
It's in my todo list to finish this coding process sooner or later, and
suggestions are welcome.

As a collateral effect, I also wanted to reduce the number of options,
but enriching the syntax of their values. For example, instead of having
five different options: xlabel, ylabel, zlabel, x2label, and y2label,
the proposal is to define only one (easier to remember), say 

axes_labels = [['x, "time"], ['y, "space (m)"], ['y2, "space (inch)"]]

or something like that, which should be equivalent to

xlabel = "time",
ylabel = "space (m)",
y2label = "space (inch)"

I'd like to read opinions from draw users. 

--
Mario