|
From: Ethan A M. <merritt@u.washington.edu> - 2008-10-22 06:11:35
|
On Tuesday 21 October 2008, Juergen Wieferink wrote:
> I have a set of n contour lines at, say, d0 = 1, d1 = 0.1, d2 =
> 1e-2, ... and I would like to do something like:
>
> command = 'set cntrparam levels discrete d0'
> add_var(i) = sprintf('command = command ., d%i', i)
> evaluate for [i=1:3] add_var(i)
>
> Well, it may not be the best style, but there might be other use
> cases, too. Additionally, the simple
>
> set for [i=0:3] cntrparam levels discrete 10**(-i)
>
> Does not work as the levels are replaced instead of appended.
That seems like a separate issue.
How about a patch to allow
set cntrparam levels discrete add <foo>
similar to the existing option
set xtics add ("label" POSITION)
--
Ethan A Merritt
Biomolecular Structure Center
University of Washington, Seattle 98195-7742
|