From: Alan W. I. <ir...@be...> - 2015-05-06 20:24:44
|
Hi Sergey (and list): On 2015-05-06 16:46+0100 Sergej Scherbina wrote: > Dear Alan, > > I tested x11.c how you have proposed to do it and received excellent 3D graphs! > Thank you! I will use four examples of x11.c code for all my 3D plots. > > But problem with standard format of date is not solved. I should be able to give you a positive answer concerning that in an hour of so. So stay tuned. > I have very simple other question - how to do the > graph with black color only in x11.c example? > What must be added to this code: > plspal0( "cmap0_black_on_white.pal" ); > plspal1( "cmap1_gray.pal", 1 ); ? Those calls are exactly correct. See examples/c/x16c.c. However, they must be placed in your code in the correct place. See that example. Another possibility instead of hard-coding color maps in your code is simply to use command-line options, e.g., -cmap0 cmap0_black_on_white.pal -cmap1 cmap1_gray.pal when you generate your plots. 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); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.sf.net); 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 __________________________ |