[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GnuPlot; Contour + Contour + Plot
From: |
Victor Munoz |
Subject: |
Re: GnuPlot; Contour + Contour + Plot |
Date: |
Mon, 25 Sep 2006 13:13:28 -0400 |
User-agent: |
Mutt/1.5.11 |
On Mon, Sep 25, 2006 at 05:29:48PM +0200, 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:
>
I had the same problem long time ago, and wrote a C++ code, contourl, which
calculates a contour plot based on PLPlot's algorithm, then outputs it in a
format compatible with Matlab's contourc function. To use it from octave,
you need a .m file to convert data into the input needed by contourl, then
read the output and plot it as a normal 2d plot. I think the code is used by
octplot now, or you can get the code at
http://llacolen.ciencias.uchile.cl/~vmunoz/software/contourl.html
I don't have the .m file there to wrap contourl, but I can make it available
if you're interested in this solution.
Regards,
Victor