stuartornum wrote: > Hi, > > I am just playing around with different shapes and colours at the moment, I > have managed the "standard" colours like this: > > plot(Time, Value, 'r.') > > Which obviously prints a red dot. > > However how do use the hex colour map with the ".", I have tried: > > plot(Time, Value, '#330066.') > plot(Time, Value, '#330066,.') > plot(Time, Value, '#330066' '.') > plot(Time, Value, '#330066', '.') > > Not quite sure on the syntax. >
Use the named kwarg "linestyle": plot(Time, Value, '#330066', linestyle='.') ------------------------------------------------------------------------- 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