+ 15
Animated surface plot of a parameter X Vs time
For example, i have 100 datapoints(10 x 10 square surface) representing some parameter X and each point has an arbitrary value for a duration of 10 seconds. let's assume we have 10 values each after an interval of 1 second. Thus, we have a total of 1000 values (for 100 geometric locations of single surface for a duration of 10 seconds) I want to create an animated plot using some code either in any one of the programming language or any software such as Matlab. How can we do this? please help
7 odpowiedzi
+ 16
it's fine.
the question is open to all and not only Matlab but any other programming language code will also do
+ 15
@kirk Schafer
thanks for the info
I do not need an interactive plot.
a simple surface plot but with information of all time frames(10 seconds as mentioned previously) is sufficient at this point of time.
+ 13
@vivek
please have a look at this link
https://www.google.co.in/search?q=animated+surface+plot
I hope it will make my question clear
+ 8
Mathbox (acko.net) is a Javascript library specifically designed to fill the professional animation gap for mathematics presentations. If it looks interesting I could try to clean one up; I've learned more since these PoCs. They support zooming, panning, etc.
There are other good solutions (Python comes to mind) but I don't have a PC; a mobile solution in other langs could be too specific to my hardware.
If for some reason you want an interactive code widget, the next two use a free service (trinket.io) that can plug Python/VPython into a web panel. These are simply showing capability, note iframe is optional for VPython.
https://code.sololearn.com/WkOjxnISn6m8/?ref=app
https://code.sololearn.com/W0jzXMT5qIp0/?ref=app
https://code.sololearn.com/WTj6PC3737Cd/?ref=app
https://code.sololearn.com/W0ylF4Cfp6K1/?ref=app
+ 6
When I searched Trinket.io for flat plots, I discarded things like this because 'animation' was requested (a primary driver behind Mathbox).
Simple flat graph, Python:
https://trinket.io/python/ba302d0448
The function viewer doesn't have to be interactive. I think I added that, but realistically Mathbox takes time to learn (might not be the right investment) when another lang may just work for you (better ROI).
+ 2
please define clearly your question
+ 2
sorry dude corrently i dont know how to use mat lab