|
From: Daniel J S. <dan...@ie...> - 2004-09-12 16:48:47
|
Hans-Bernhard Broeker wrote:
> Ethan Merritt wrote:
>
>> Could you please modify this array and the code that uses it
>> so that rather than assuming, for instance, POINTSTYLE==1,
>> the array includes the actual current values to test against?
>> I imagine it would look something like
>>
>> df_bin_default_columns default_style_cols[] = {
>> {LINES, 1, 1},
>> {POINTSTYLE, 1, 1},
>> [... and so on]
>
>
> Better yet, Someone[^TM] take this as motivation to finally create the
> long overdue "properties of a plotting style" data structure. Besides
> the above, there are already quite a list of per-style pieces of
> information scattered all across the code (including inside the plot
> style numbers themselves!). Those really need to be collected and
> organized in an orderly fashion.
Well, what I did there was admittedly a bit of a hack. The reason was
because I realized things could be organized better, but I'm not aware
of what the groups ideas for "properties of a plotting style" are. I
thought originally that this table is something that _should_ go in the
tables.h file or similar. But it didn't seem well organized enough, so
instead I just made it generate an error message. This should fit into
the grand scheme of things including the discussion of default using
strings from the other day, and so on.
Dan
|