Newbie question - executing commands from a string

Hhhhmmm...what exactly do you have in mind? Sure, many of the steps to plot
something are the same; to be sure, the data changes and possibly the type
of plot...

what kind of application are you writing?
how much freedom do you really want to give to the user?
is the plot specific enough? given the context of the application?
is the user expected to know python and matplotlib?

have you tried eval?

have you thought about simply providing a python console along with your
application?

...just throwing questions at you to make you think more about this.

ยทยทยท

--
View this message in context: http://matplotlib.1069221.n5.nabble.com/Newbie-question-executing-commands-from-a-string-tp41756p41781.html
Sent from the matplotlib - users mailing list archive at Nabble.com.