[Scilab-users] R: plot versus date

anna78 anna.parravicini at cnao.it
Tue Jan 19 08:29:36 CET 2016


Thank you.
And a question more: is there any way to 90° -rotate the x-axis ticks label?

Da: jbaudais [via Scilab / Xcos - Mailing Lists Archives] [mailto:ml-node+s994242n4033298h74 at n3.nabble.com]
Inviato: lunedì 18 gennaio 2016 9.26
A: Parravicini Anna
Oggetto: Re: plot versus date

Hi,

Le 18/01/2016 09:00, anna78 a écrit :
> Hi all,
> I'm beginner of SCILAB.
>
> I have the file here after reported, made of 5 columns.
> I would like to plot column 4 versus column 1, column 1 being a date in the
> yymmdd format.
> Is there any way to make SCILAB understand the x-axis is a date in yymmdd
> format?


I think, first you need to split yymmdd in a vector [yy,mm,dd]
 > yy=floor(meas_date/10000);
 > mm=floor(meas_date/100)-100*yy;
 > dd=meas_date-100*mm-10000*yy;
and convert this vector with datenum([yy,mm,dd])

Jean-Yves
_______________________________________________
users mailing list
[hidden email]</user/SendEmail.jtp?type=node&node=4033298&i=0>
http://lists.scilab.org/mailman/listinfo/users

________________________________
If you reply to this email, your message will be added to the discussion below:
http://mailinglists.scilab.org/plot-versus-date-tp4033297p4033298.html
To unsubscribe from plot versus date, click here<http://mailinglists.scilab.org/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4033297&code=YW5uYS5wYXJyYXZpY2luaUBjbmFvLml0fDQwMzMyOTd8LTY5NzEwMjY1MA==>.
NAML<http://mailinglists.scilab.org/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>




--
View this message in context: http://mailinglists.scilab.org/R-plot-versus-date-tp4033306.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20160119/a937c44b/attachment.htm>


More information about the users mailing list