[Scilab-users] ?==?utf-8?q? {EXT} stripchart?
Antoine Monmayrant
antoine.monmayrant at laas.fr
Wed Apr 26 16:04:58 CEST 2017
Le Mercredi, Avril 26, 2017 15:50 CEST, "Dang Ngoc Chan, Christophe" <Christophe.Dang at sidel.com> a écrit:
> Hello
>
> > De : shorne at energetiq.com
> > Envoyé : mercredi 26 avril 2017 15:31
> >
> > I would like to plot this data on a "stripchart" - to show only the (say) latest 10 seconds of data,
> > with the plot scrolling to the left - new points added to the right, data falls off the end on the left.
>
> From what I understand,
> you could do this by extracting the last lines of the matrix of data
> and then updating the data property of the polyline with this submatrix, see
> https://help.scilab.org/docs/6.0.0/en_US/polyline_properties.html
> but this needs to be tested as there will probably be side effects.
I just posted a proposition that use exactly this idea.
No side effect, but you have to handle the rescaling of the plot.
Antoine
>
> HTH
>
> --
> Christophe Dang Ngoc Chan
> Mechanical calculation engineer
> This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>
More information about the users
mailing list