Hello, i am writing a program in C++ where I am implementing the stuff I developed my thesis about eye glass optics with Matlab/Octave. I tried a C++ interface to gnuplot, but as the interface is not very nice and as I did not find this feature there until now, I am trying the C++ PLPlot interface right now.
I need to draw graphs like those: http://m21s26.vlinux.de/math/gsg.png The data does not fit in a regular grid, so there has to be a kind of triangulation or something similar. In Matlab I use the function griddata for this. The lines to draw this graphs in Matlab are following: lmin = min(min(Zi)); lmax = max(max(Zi)); levels=[lmin:min(.1,(lmax-lmin)/100):lmax]; [C,h] = contourf(Xi,Yi,Zi,levels,'LineStyle','none'); axis equal; colorbar; grid on; Is there a way to do this with PLPlot? And if there is, how? Is this possible with the plstream::fcont method? Does PLPlot implement some kind of triangulation or do I have to write this on my own? Another issue: Is there a way to draw "quiver" graphs like this one? http://m21s26.vlinux.de/math/achs.png (In this case I multiplied the arrow length of the points with the z value.) Thank you very, very much for any hints. And sorry for this quite general questions. Regards Paul Wellner Bou ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Plplot-general mailing list Plplot-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-general