⎕USING∪←',sharpplot.dll' ',system.drawing.dll'
sp1←⎕NEW Causeway.SharpPlot
sp1.DrawLineGraph(,⊂⍳10)(⍳10)
vw1←⎕NEW Causeway.SharpPlotViewer sp1
vw1.Show ⍬
I get a plot as expected. Now I would like to 'Refresh' this plot with some new data like:
sp1.DrawLineGraph(,⊂⍳20)(⍳20) ⍝ I want to redraw the plot with that new X and Y
vw1.Refresh ⍝ Does not work
vw1.Update ⍝ Does not work
But the plot stays the same. What is the method to change the X and Y values of a plot in an existing opened window ?
Thanks in advance.