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.

==========================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?

==========================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?

==========================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 think there is too many questions for a single message already.
Sorry for that.

  Best regards.



  Roxo

-- 
---------------- Non luctari, ludare -------------------+ WYSIWYG
Fernando M. Roxo da Motta <r...@roxo.org>               | Editor?
Except where explicitly stated I speak on my own behalf.|  VI !!
            ( Registered Linux user #39505 )            | I see text,
------------ Quis custodiet ipsos custodes?-------------+ I get text!

Attachment: x00f.f90.gz
Description: application/gzip

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

Reply via email to