gnuplot_curve_styles



Robert Dodier escribi?:
> I'm not really all that crazy about the big array either.
> But I think there is some value in collecting plot options in one place.
>
> There exists a function named defstruct (invented by RJF a
> few years ago and imported by me sometime later) which might
> be helpful here. We can define a plot options structure, e.g.
>
> defstruct (plot_options1 (foo=1, bar=2, baz=[x, y]));
> my_options : new (plot_options1);
> my_options at foo;
>  => 1
> my_options at baz;
>  => [x, y]
> my_options at bar : 7;
> my_options;
>  => plot_options1(foo = 1, bar = 7, baz = [x, y])
>   

I've been thinking on similar things for draw. It's not yet implemented, 
but the idea is to define a function such as

change_draw_default(terminal = eps,  point_type = diamant, ....)

storing user defaults in a hash table at lisp level. It would save the 
user a lot of typing in some cases.


-- 
Mario Rodriguez Riotorto
www.biomates.net