On Feb 18, 2007, at 11:54 PM, Alan W. Irwin wrote: > On 2007-02-18 22:36-0500 [EMAIL PROTECTED] wrote: > >> >> Hello, >> >> In the process of working my way through updating the documentation >> I've noticed that there are a reasonable number of functions that I >> cannot find in the Python API. Is this because they are really >> missing? Or am I not looking in the right place? My approach has been >> to grep for the function name in the bindings/python directory. >> Example (missing) functions include plfill3, plflush, plgcol0 and >> plgcolbg. > > Both Python and Java API are implemented in the file > bindings/swig-support/plplotcapi.i. Those API's are probably our > third-most complete ones after C and C++.
Thanks! Now how do I figure out the redacted form for Python? Using the function plbin as an example, for java I can go: grep plbin bindings/java/* and I get: java/PLStream.java: plplotjavac.plbin(x, y, center); From which I infer that the first argument, nbin, has been dropped. If I look in bindings/swig-support/plplotcapi.i to try and see what Python will do I see: %feature("autodoc", "Plot a histogram using x to store data values and y to store frequencies.") plbin; void plbin(PLINT n, PLFLT *Array, PLFLT *ArrayCk, PLINT center); Which suggests that Python has kept the first argument. -Hazen ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel