Andrew Ross wrote:

>plvec2 is equivalent to calling plvect with the pltr2 function as the
>pltr. This only affects the location of the vectors, not the direction /
>magnitude. 
>
>The only reason for plvec2 etc is that fortran (and several other bindings)
>don't allow you to pass a function name as an argument. They provided a
>limited subset of the possible functionality of plvect.
>  
>
Hello Andrew,

is that the reason for plvec2? Because Fortran, ever since it supported 
user-defined
functions, so at least from FORTRAN IV onwards, has supported passing
function names as arguments. There is an important limitation vis-a-vis 
the _data_
that you can pass - that is: no equivalent to (void *) types, but 
function names are
no problem at all!

Regards,

Arjen


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to