ylabel_secondary option ?



   From: Mario Rodriguez <biomates at telefonica.net>
   Date: Tue, 3 Sep 2013 21:42:33 +0200

   El mar, 03-09-2013 a las 16:37 +0000, Leo Butler escribi?:
   > In the draw package, is there an option to set the axis labels on the
   > secondary axes? I know I can use `user_preamble', but I'd rather not.
   > 

   Yes, here are two examples:

   http://riotorto.users.sourceforge.net/gnuplot/func2d/index.html#secondary-xy
   http://riotorto.users.sourceforge.net/gnuplot/func2d/index.html#secondary

Sorry, Mario, these two examples use yaxis_secondary, but they do not
set the label on that axis. In gnuplot, it would be

set y2label "..."

I don't think draw has an equivalent option

ylabel_secondary = "..."

Is that correct?

   > Also, is there a command analogous to set_draw_defaults that shows all
   > the options? Something like
   > 
   > (defmfun $get_draw_defaults()
   > 	 (maphash (lambda(k v) (mfuncall '$print k "=" v)) *gr-options*))


   No, sorry. There isn't any function like that, but I can give it a try.
   Some options are internally stored in special structures, like lisp
   lists.

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?

Regards,
Leo