Page 1 of 1
python paramtric plotting af a function
Posted: Sun May 10, 2015 6:58 pm
by JosDuchIt
Is it possible using python to plot the graph af a function?
Same question for y = f(x) define by x = x(t), y = y(t)
Re: python paramtric plotting af a function
Posted: Mon May 11, 2015 12:55 am
by broadblues
Well python can certainly create the coordinates for such a plot trivialy, but I don't think that there's a library for displaying that included as standard in the OS4 python dsitro.
Depending on the final needs:
Easiest route might be to use the ARexx module and an existing program to render the result.
PPaint, ImageFX and SketchBlock all have powerful arexx interfaces for such a thing.
Blender would enable creation of fancy 3D plots.
TurboCalc might be useful for chart style presentaion of the graph.
Harder route woulbe be to port a mathplotting module sych as the MatPlotLib described in this google search
http://www.google.co.uk/search?q=python ... 7AaR1YCoBQ
Re: python paramtric plotting af a function
Posted: Mon May 11, 2015 9:40 am
by JosDuchIt
@Broadblues, thanks for the suggestions
I did find a simple online solution here
http://jsfiddle.net/gh/get/jquery/1.7.1 ... of-arrays/
You just have to provide the set of coördinates . & you have a nice feedback on the exact values when you hover over the defined points