From: Alan W. I. <ir...@be...> - 2015-09-01 20:49:52
|
Hi Roxo: Since you are satisfied with the answer you have discovered for your question 1, I will now move on to your further questions. On 2015-08-31 20:10-0300 Fernando M. Roxo da Motta wrote: > ==========================8<-------- Question 2 ----------------- > > Another change to the code is some calls to 'plspal0'. What I > understand is that if the call happens before 'plinit' the desired > palette becomes active. The extent I have tried if I call the routine > after 'plinit' the result seems to me to be unpredictable. The > example x16f.f90 calls it many times, ever followed by a call to > 'pladv'. I tried that but does worked. What should be the call > sequence to change the color map 0? See example 16 for a correct way to call plspal0 to set up the colour palette for the next page. In this case pladv is used to start the next page. But note that a call to plenv implicitly calls pladv so there is no need for an extra pladv call if your plspal0 call is followed by a call to plenv rather than pladv. > > ==========================8<-------- Question 3 ----------------- > > This one is just to confirm if I understood correctly. Everytime a > plot is finished (whatever it means) the program holds and wait for an > interaction, usually the mouse button 3 (rightmost) releases the code > to go on. While waiting one can resize and do some other stuffs > depending on the driver used to plot. If I use 'plspause(.FALSE.)' > the program will not hold, with the price of no interaction with the > graphic. Is it correct? Yes. You can also use the command-line option "-np" to put no-pause mode into effect. > ==========================8<-------- Question 4 ----------------- > > If I understood correctly, the end of page is reached when the > program reach a 'pleop', a new 'plenv', or some others calls. What are > the calls that trigs the EOP? I don't think I can give you a complete list, but pladv is one such call (which is the reason why plenv is also one of them since it implicitly calls pladv). It's possible plbop is another, but I suggest you look at our examples and also experiment to find out. The reason why starting a new page generally finishes the old page is simply to make PLplot more convenient/flexible to use. 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 __________________________ |