|
From: Peter D. <pc...@wi...> - 2007-12-07 07:44:02
|
On Thu, Dec 06, 2007 at 02:37:01AM -0800, Thomas Sefzick wrote:
> you need 'x' and 'y' values generated automatically, so you need
> 'splot':
That's a beautiful hack, Thomas; I see your hack, and raise you the
attached patch which generates two columns of data regardless of
plot/splot.
The following simply works with patched gnuplot:
set isosamples 60,60
plot [-6:6][-6:6] '+' using 1:2:(l*$2):(l*sin($1)) with vectors
Before I submit the patch to the developers, though, I'd like to
straighten out the following things:
* detect whether df_current_plot->plot_style == VECTOR, and add an
extra column to (s)plot (df_current_plot isn't set by the time I
get it);
* generate three dimensions of data for splot (extrapolating the
current code to three dimensions produces a plane).
|