Hi Werner,
        talking about the C interface, this is the case of plcont or plshade, 
when passing pltr2 (an internal plplot functon) as pltr argument, and 
passing the X and Y 2-dim arrays of coordinate through the pltr_data 
structure; this is not really straightforward in C, it is described in

http://plplot.sourceforge.net/docbook-manual/plplot-html-5.9.2/plcont.html
http://plplot.sourceforge.net/docbook-manual/plplot-html-5.9.2/contour-plots.html

and in plplot example 9

For fortran 95 it is more straightforward due to the use of interfaces, 
so that the X and Y arrays are passed directly to plcont as parameters, 
see also example 9 in f95 after the comment:
!      Plot using 2d coordinate transform

Werner Smekal ha scritto:
> Hi,
> 
> I don't know much about the contour plots, maybe someone else on the  
> list can help.
> 
> Thanks,
> Werner
> 
> Begin forwarded message:
> 
>> From: "SourceForge.net" <nore...@sourceforge.net>
>> Date: 26. März 2009 22:48:15 GMT+01:00
>> To: nore...@sourceforge.net
>> Subject: [plplot - Open Discussion] MATLab Contour
>>
>>
>> Read and respond to this message at:
>> https://sourceforge.net/forum/message.php?msg_id=6972899
>> By: bigmuscle
>>
>> Hello.
>>
>> MATLab has nice function contourf(X,Y,Z,n) where n is number of  
>> levels. It is
>> just easy to pass matrices X,Y,Z to this function and filled contour  
>> plot will
>> be rendered.
>>
>> Is this possible with this library too? I'm asking because I saw  
>> contour function
>> with Z parameter only (and I need to pass X and Y there too else it  
>> would render
>> different plot).
>>
>> Thank you.
>>
>> ______________________________________________________________________
>> You are receiving this email because you elected to monitor this  
>> forum.
>> To stop monitoring this forum, login to SourceForge.net and visit:
>> https://sourceforge.net/forum/unmonitor.php?forum_id=8606
> 
> --
> Dr. Werner Smekal
> Institut fuer Allgemeine Physik
> Technische Universitaet Wien
> Wiedner Hauptstr 8-10
> A-1040 Wien
> Austria
> 
> email: sme...@iap.tuwien.ac.at
> web: http://www.iap.tuwien.ac.at/~smekal
> phone: +43-(0)1-58801-13463 (office), +43-(0)1-58801-13469 (laboratory)
> fax: +43-(0)1-58801-13499
> 
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> High Quality Requirements in a Collaborative Environment.
> Download a free trial of Rational Requirements Composer Now!
> http://p.sf.net/sfu/www-ibm-com
> _______________________________________________
> Plplot-devel mailing list
> Plplot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/plplot-devel
> 


-- 
============================= Davide Cesari ============================
Servizio IdroMeteorologico ARPA Emilia Romagna
Area Modellistica Numerica e Radarmeteorologia
  Phone/Fax: +39 051525926/+39 0516497501
  E-mail:    dces...@arpa.emr.it
  Home page: http://www.webalice.it/o.drofa/davide/
  Address:   ARPA-SIM, Viale Silvani 6, 40122 Bologna, Italy
========================================================================

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to