On Wednesday, 3 September 2008, dmitrey wrote:
> hi all,
> matplotlib says it's similar to MATLAB's plot tool, however, using
> plot(..., 'p') plots pentagram instead of star. It makes my (Python
> scikits.openopt) graphic output of numerical convergence look
> uglier than MATLAB version.
>
> So is plotting a star intended to be ever implemented?
> Thank you in advance, Dmitrey

Use scatter instead of plot where you can custom-define a marker with 
an arbitrary number of sides in polygon, star or asterisk format. 
E.g. to get a hexagonal star use:

scatter(xvalues,yvalues,marker=(6,1,0)

See also scatter docstring.

Johann

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to