GnuPlot; Contour + Contour + Plot
shaia at biocontrol.co.il
Mon Sep 25 12:04:55 CDT 2006
John W. Eaton wrote:
> On 25-Sep-2006, Stefan de Konink wrote:
> | I want to plot two contours and a plot with datapoints on top of
> | eachother. I got the contours to work with hold on; But when I want to
> | plot on top of it with the original datapoints I get the following error:
> | gnuplot> sp '/var/tmp/oct-zU9WJn' u 1:2:3 t "line 1" w lines 1,
> | '/var/tmp/oct-vzTH1t' u 1:2:3 t "line 2" w lines 1, '/var/tmp/oct-UCFB0C'
> | u 1:2 t "" w dots 3, '/var/tmp/oct-xwitFD' u 1:2 t "" w dots 1
> | ^
> | line 0: 2 columns only possible with explicit pm3d style (line 5)
> | Ofcourse I tryed the explicit style which produced a beautiful gradiant,
> | but that is not what I want ;)
> | How is this possible?
> The contour plot created by gnuplot is done using the 3D mode, so
> plotting a set of lines on top of it using the 2D plot functions will
> not work.
> Possible solutions are to fix gnuplot's contour plotting to be a
> modified version of the 2D plotter instead of the 3D plotter or to fix
> Octave's contour function to generate the contours and plot them
> directly with the 2D plotter. There have been some proposals for
> doing the latter but none have yet been incorporated.
I have submitted (I think either in the maintainers or graphics lists)
functions to generate contours & plot them using "normal" gnuplot line
plots. They implemented matlab compatible contourc and contour
functions. As far as I recall there was no response. Is there something
I can do to "push" this forward?
> Help-octave mailing list
> Help-octave at octave.org
More information about the Help-octave