[Scilab-users] Simple Date & Time Plotting

David Chèze david.cheze at cea.fr
Fri Jul 20 12:20:36 CEST 2018


Hi Pat and all,

I was looking for similar simple feature for plotting time series with
readable date time format and I can share an intermediate approach to update
the x-ticks with a call to function labxdtv(), cf linked file  labxdtv.sci
<http://mailinglists.scilab.org/file/t375348/labxdtv.sci>  
There's no callback function, the function is called after the plot action
and after every changes in windows size or zoom level : initial plot is like
plot2(dtnm,Donnees), with dtnm a vector of datenum values and Donnees a
matrix of related data to plot. After the figure is plot at first time or
after every changes in windows size or level of zoom, call again labxdtv, it
regraduates automatically the x-axis according to the datanum span and
convert the datenum in readable date time vector format (auto_ticks are set
to on in the function).

Would be great to have in scilab a more powerful/flexible builtin
function... :) 

David



--
Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html



More information about the users mailing list