From: Alan W. I. <ir...@be...> - 2003-03-27 15:49:29
|
On Thu, 27 Mar 2003, Frederick Grim wrote: > Howdy, > > I am trying to make a 3d plot and having troubles. I have read through the online > documentation and chunks of the plplot code base. Here is my trouble. I have some code > that solves the heat eq. via forward euler and returns the array u[X][T] , 0 < x < pi , and > 0 < t < 10.0. Of course this values for u are between 0 and 1. I plotted the matrix in > gnuplot and got the correct normaly lookin' graph so the solution looks correct. The number > of x sample points is J and the number of t sample points is N. You should be able to adapt on of our examples to your 3D needs. Have a look at the examples at http://plplot.sourceforge.net/examples/index.html. If you click on any one of them, you will see the source code that produced it. The source code for the examples is also located at plplot-5.x/examples/c, and also in the installed tree at $prefix/lib/plplot5.x/examples/c. Alan __________________________ Alan W. Irwin email: ir...@be... phone: 250-727-2902 Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the Canadian Centre for Climate Modelling and Analysis (www.cccma.bc.ec.gc.ca) and the PLplot scientific plotting software package (plplot.org). __________________________ Linux-powered Science __________________________ |