On 2015-08-31 20:10-0300 Fernando M. Roxo da Motta wrote:

>
>
>  Hi all,
>
>  I am sending attached the x00f.f90 program with a few changes that, I
> hope, will make clear my questions.   I expect that the list server
> allow attachments.
>
>  It is my first message to this list, so if I violate any rule,
> please, educate me.   I hope no LART will be necessary though.
>
>  I started the use of Plplot a couple of weeks ago.  I had a number of
> programs around without use.  Those used the ancient "Calcomp" call to
> plot (plots, plot, dasher,...) and decide to use some of them as a
> test.
>
> ========================8<---------  Environment -----------------
>
>  I am using a [Xu|U]buntu 14.04 64 bits, Plplot 5.10.0, Gfortran
> 4.8.4.  The driver I am using is 'PLPLOT_DEV=wxwidgets'.
>
> ========================8<---------  Why Y inverted -----------------
>
>  I am a geophysicist and work with seismic data.  What is this?  Does
> not matter.   The point is that the informations I want to plot
> represents something down into the Earth.  For this reason we use ours
> graphics with the X axis (including labels and ticks) on top (surface)
> and the Y axis growing down (depth or wave travel time).
>
>  The attached code is the x00f.f90 program with few changes to try to
> get the feel of the library.
>
> ==========================8<--------  Question 1 -----------------
>
>  As it can be seem, the call of 'plenv' exchanging xmin and xmax do
> the trick of inverting the Y axis, as I expected, except that the X
> axis+labels keeps being plotted at the bottom of the graph.   That
> seems to be a proof that the universe has no commitment with my
> thoughts.  :(    The question:  Is there some really simple approach to
> change this, or will I need to make a number of calls to plot it "by
> hand"?   By the way, I am reading the history  of the Plplot-General
> (I'm at Dec 2010) and so far didn't found an answer to this.
>

Hi Roxo:

Thanks for your interest in PLplot.

The answer to the above question is plenv is too simple for your
special seismic data needs, and instead you have to replace it with
calls to pladv, plvpor, plwind, and plbox.  That sounds like a lot of
complexity, but it is really not too bad.  See example x01f.f90 for
how those routines are typically called together and also look for
those routines in the documentation
<http://plplot.sourceforge.net/docbook-manual/plplot-html-5.11.1/>.

Let's put off discussion of your further questions until you are
satisfied with the answer to this question. :-)

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
__________________________

------------------------------------------------------------------------------
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to