Changing a graph
Brian Stephanik <[email protected]> Fri, 9 Nov 2012 17:02:58 -0800
| Newsgroups | gmane.comp.python.visualpython.user |
|---|---|
| Message-ID | <CAFjtKQA29rD3cFFbM_MdO9YP3qWUyp8x6BatY4P+mk0x0OYcvA@mail.gmail.com> |
I have a question on how to perfrom a specific task in VPython. I hope I'm asking the right list. I'm trying to get the visual.graph module to be able to dynamically update a curve. For example, I'd like to graph a function f(x) + c, where c is able to be manipulated by the user, perhaps via a slider control. I can't seem to get VPython to *change* a graph, only to draw new ones (it seems histograms are able to do this, but not the other plot types?). And the gcurve object doesn't seem to respond to setting .visible=False, thus allowing me to create a new one and re-draw. Thanks for considering, Brian Brian Stephanik Graduate Student Department of Physics University of Washington [email protected] ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov _______________________________________________ Visualpython-users mailing list Visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/visualpython-users