smps_plot | R Documentation |
smps_plot(the_prepared_data, aspect_ratio = 1.1/5, font_size = 12,
h = "2 hours", y_breaks = 100, colour_ramp = colour_ramp_igor,
y_axis = "linear", seconds_offset = 1000, days = NULL, ...)
the_prepared_data |
the output from the prepare_data function |
aspect_ratio |
change the aspect ratio of the plot |
font_size |
change the axis and legend text size |
h |
how many hours apart the x-axis ticks should be |
y_breaks |
location of major ticks on the y axis |
colour_ramp |
colour scale to use for the contour |
y_axis |
'linear' or 'log' (base 10) y-axis |
seconds_offset |
offset in seconds for adjusting the log y-axis |
days |
the date of a single day, to limit the plot to one day or more days. Use the form "2013-01-26" with quotation marks, or make a vector with 'c("2013-01-26", "2013-01-27")' |
... |
so you can send other things to modify the theme and scales |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.