Tuesday, April 19, 2011

State change number plot in daily RDAHMM changed

We changed the state change number plot in daily RDAHMM portlets to use bars instead of lines, as shown in the following figure. The static png plots are also changed to use bars, and the plot for a bounded area is shown in a separate tab in stead of a new window.



For the Dygraph javascripts, we use the following options to achieve this effect:

{colors:['#007FFF'],
strokeWidth:0.7,
pixelsPerXLabel:50,
rightGap:2,
stepPlot:true,
fillGraph:true,
fillAlpha:0.8}

For the gnuplot scripts, we use the following two lines:

set style fill solid 1.0
plot "FILE" using 1:2 with boxes linetype 3

No comments: