themis plot
Contents: Description, Arguments, Usage, Examples, Images, Sub-Functions, Related Functions, Source Supported Under Version: > 1.02
Description Plot THEMIS database parameters. NOTE: Use at your own risk!
Arguments and Return Values Arguments: a single mysql command or 3 arguments as the select, table, and where strings Return Value: An array of the selected parameters
Usage Syntax: themis_plot(select, table, where [, plot = BOOL] [,xaxis = VAL] [,mtes = BOOL] [,database = STRING] [,double = BOOL]) Optional Syntax : themis_plot(mysql_query [, plot = BOOL] [,xaxis = VAL] [,mtes = BOOL] [,database = STRING] [,double = BOOL])
table - string of table parameters separated by commas where - string parameters separated by " and " mysql_query - or entire mysql query
plot = 0 - Do not plot the data database - "database name" (only used with entire query) xaxis = 0 - Do not use the first select parameter as the xscale mtes = 1 - Plot mini-TES data double = 1 - ghetto plot (reads in as double rather than float)
Examples dv> data=themis_plot("orbit_number,tes_alb_avg","irfrmsci,header","orbit_number > 1200 \ and orbit_number < 1300 and header.file_id rlike \"I0123\" and image_duration < 245",plot=1) mysql -B -s -h db1.mars.asu.edu -u atmos -pnoachis -D themis3 -e 'select orbit_number,tes_alb_avg from irfrmsci,header where orbit_number > 1200 and orbit_number < 1300 and header.file_id rlike "I0123" and image_duration < 245 and irfrmsci.file_id=header.file_id;' > /tmp/dv_27037/themis_plot_temp Apparent file size: 2x385x1 Read ASCII file: 2x385x1 2x385x1 array of float, bsq format [3,080 bytes] dv> pngplot("/u/cedwards/public_html/downloads/themis_plot.png",600,400) Hit a key...any key...especially the return key dv>
|
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Related Functions
Recent Library Changes Created On: 09-03-2008 |