|
From: David K. <da...@gn...> - 2017-10-18 07:26:47
|
Ethan A Merritt <eam...@gm...> writes: > On Tuesday, 17 October 2017 15:13:49 Ethan Merritt wrote: >> You are now, as I understand it, advocating that both the linewidth and dashtype >> properties should act as the linecolor does. I'm fine with adding that as >> a user-specified option, but it would be something new rather than a return to >> what any previous gnuplot version did. > > > It occurs to me that if we do add something of this sort, > it might be more usable to assign the linewidth or dashpattern > directly to a series of contour levels rather than indirectly by > counting out linetypes and tryiing to figure out which level is > going to get which linetype. > > Something like we already do with axis tic labels > > set cntrlabel onecolor > set cntrparam level discrete 0 dashtype '..' > set cntrparam level add incremental 10, 10 linewidth 2 > set cntrparam level add incremental 2, 10 linewidth 0.5 > set cntrparam level add incremental 4, 10 linewidth 0.5 > set cntrparam level add incremental 6, 10 linewidth 0.5 > set cntrparam level add incremental 8, 10 linewidth 0.5 > > That would get you a dotted contour at 0, heavy lines every 10, > and thin lines every 2 otherwise. All the same color in this case. > > Thoughts? Mostly useless for linetypes displayed in a key. Both plot types and contour line labels are usually listed in a key, so it does not make a lot of sense to treat them differently in that respect. -- David Kastrup |