From: Alan W. I. <ir...@be...> - 2004-05-04 22:31:55
|
On 2004-05-04 20:30+0100 Tiago Pereira wrote: > Answering to myself, problem solved. > > On Tue, 4 May 2004, Tiago Pereira wrote: > > : plerry(n,x,y-errminus,y+errplus) > > When getting the same error with plfill, I suspected. Fortunately there > are examples with plfill! The problem seems to be bad documentation. When > I read: > > plerry (n, x, ymin, ymax); > > I thought that plerry would take 4 arguments. Apparently, I was wrong and > "n" isn't an argument, so plerry only takes the other 3 arguments. This > solved my problem. Glad you figured it out. I agree some short documentation of the python interface would be useful. Until somebody does that (are there any volunteers?), you have to look at the extensive xw??.py python examples and follow the spirit of those. The general rule is all array dimensions are dropped (since that information is redundant in python). Our java interface also has the same general rule for the same reason. Alan __________________________ Alan W. Irwin email: ir...@be... phone: 250-727-2902 Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the PLplot scientific plotting software package (plplot.org), the Yorick front-end to PLplot (yplot.sf.net), the Loads of Linux Links project (loll.sf.net), and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |