From: Alan W. I. <ir...@be...> - 2002-06-26 16:50:57
|
Are you using a build from the very latest CVS (in last day or so) using the new python interface? You will need swig-1.3.x for that build. Or did you stick with that build from CVS I helped you with a week or so ago which was based on the old python interface? Much has changed in that time. My advice is to use a build from the latest CVS. When I do that, xw16.py (which uses plshades) works fine with either the single or double-precision library. Follow what was done in xw16.py (with setup as in pythondemos.py) and you should be fine. Alan email: ir...@be... phone: 250-727-2902 FAX: 250-721-7715 snail-mail: Dr. Alan W. Irwin Department of Physics and Astronomy, University of Victoria, P.O. Box 3055, Victoria, British Columbia, Canada, V8W 3P6 __________________________ Linux-powered astrophysics __________________________ On Wed, 26 Jun 2002, D tang wrote: > Hello... > > I using plplot to plot a contour graph... but I get > this error > > plshades(S, -1, 1, -1, 1, shedge, fill_width, > cont_color, cont_width, 1) > > TypeError: Array can not be safely cast to required > type > > Does anybody know why the Array can not be safely > cast? > > S is a 2D array... > > Thanks > > Take Care, > > Dustin > > > ______________________________________________________________________ > Post your ad for free now! http://personals.yahoo.ca > > > ------------------------------------------------------- > This sf.net email is sponsored by: Jabber Inc. > Don't miss the IM event of the season | Special offer for OSDN members! > JabberConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn > _______________________________________________ > Plplot-devel mailing list > Plp...@li... > https://lists.sourceforge.net/lists/listinfo/plplot-devel > |