<< thingspeak_newentry bytecode_iot_module thingspeak_update >>

bytecode_iot_module >> bytecode_iot_module > thingspeak_plot

thingspeak_plot

Plot a ThingSpeak field

Syntax

thingspeak_plot(xtime,ydata)
thingspeak_plot(xtime,ydata,linespec)

Parameters

xtime :

The field's time parameter

ydata :

The field's values

linespec :

Options to draw the graph

Description

Plots a graph of a ThingSpeak field using the output from thingspeak_fieldvalues

Examples

fv = thingspeak_fieldvalues(channelID,'private','','readkey',1,'results',100)
thingspeak_plot(fv.time,fv.values,'g-*')

See also

Authors


Report an issue
<< thingspeak_newentry bytecode_iot_module thingspeak_update >>