:) I always have problem with left and right :) Stef
you have MorphPlot probably on squeaksource.
hi Stéphane, that does indeed what i wanted to do, thanks. btw it was not too easy <grin> to find, but using PlotMorph instead of MorphPlot did finally do the trick. thanks again werner
On 21 févr. 2011, at 16:04, Werner Kassens wrote:
hi, what can i use to plot a collection of numbers? werner
You could use Mondrian. It's built primarily for graph drawing, but there is a MOScatterplotLayout which allows one to draw plots. http://www.moosetechnology.org/tools/mondrian Just a simple example (do not hesitate to ask for clarification) points := OrderedCollection new. {5. 5. 3. 10. 15. 8} pairsDo: [ :x :y | points add: (Point x: x y: y) ]. MOViewRenderer new nodes: points; layout: (MOScatterplotLayout new x: #x; y: #y); open Or you could help porting EyeSee from visualworks :) http://www.moosetechnology.org/tools/vw/eyesee -- Simon Denier
Simon, thank you for that information. while i was looking more for something like a line diagram, your answer helps. werner
participants (3)
-
Simon Denier -
Stéphane Ducasse -
Werner Kassens