Wednesday, 15 August 2012

matplotlib - Changing parameters while plotting in python -



matplotlib - Changing parameters while plotting in python -

i have code plotting 3d scatterplot in python updates after every 2 seconds (plot dynamic). wish able adjust values of of parameters on line (while plotting happens) based on plotting happens. possible give textbox along plot can take input required parameter value based on plot subsequently modified?

matplotlib not have textbox (or other text entry) widget. utilize textbox, need embed matplotlib graph within separate gui framework. this, decide on gui framework want utilize (qt, wx, gtk, or tkinter), , textbox widget gui framework, , add together plot matplotlib. isn't hard , there lots of available examples, best found each specific framework you're interested in.

there might other pure matplotlib approaches work you, such using matplotlib slider widget, or straight capture keyboard events, without knowing you're going for, it's hard say.

python matplotlib

No comments:

Post a Comment