On 2011-05-05 20:53-0400 Robbeloth, Michael C CTR USAF AFMC AFRL/RBSD wrote:
> > Hello, > > > > Given the following set of gnuplot commands, how can I create the equivalent > plot in plplot: > > > > set title 'Tip Deflection' > > set term x11 > > unset key > > set zlabel 'dz' > > set ylabel 'dy' > > set xlabel 'dx' > > _gnuplot_error = 1 > > splot '-' title 'Datafile 12' with lines ; _gnuplot_error = 0 > > 0.0 0.0 0.0 > > -6.33650180773E-6 -3.59507699157E-7 -0.00108860742542 > > -3.62627138539E-4 9.64261859507E-7 -0.0077658642054 > > -0.00103258513631 7.0062247613E-6 -0.013047247334 > > -2.34646337412E-4 6.6877122162E-7 -0.00622592559896 > > -2.89297149949E-5 -5.09248661184E-6 0.00223425348094 > > -3.13846138408E-5 2.14817952244E-7 0.00229304110169 > > -1.34158756145E-4 -4.13839696473E-6 0.00479188197301 > > -0.00101444403037 6.98171994971E-6 0.0129021598223 > > -5.37220447035E-4 9.42137453306E-6 0.00939036903997 > > -5.26252760973E-5 -3.03673906032E-6 -0.00295768205803 > > e > > if (_gnuplot_error == 1) print '_ERROR_' > > quit > > > > Everything just plots nicely for me in gnuplot, but despite fighting with > various settings for viewports, windows, and boxes, I cannot > recreate the same plot using plplot. If someone could give me some pointers, > that would be great. I have also looked at example 18 and > tied to follow its structure without success. Thank you. Hi Michael: I am not familiar with gnuplot (last time I used it was in 1996 or so) so could you explain your use case in a lot more detail? Obviously, you have some data to plot, but at this point I don't know for sure whether it is 2D or 3D data or whether it is experimental data, something you can generate from a simple function, or something that is the result of extensive calculations. In the first case, I would read the experimental data into whatever language you prefer to work with (Python, C, or whatever). In the second and third cases, you can probably call PLplot directly from the programme that produced the data if the calculation is done in one of our many supported computer languages. Are you sure you want to create a plot similar to example 18? The only way that would make sense is if your data is in the form of a line (as opposed to a surface) in 3D space. If that happens to be the case, then first try to get an unmodified version of example 18 to work in the language of your choice, and we can take it from there. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Plplot-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plplot-general
