Overlay plot that checks for and plots only those columns present
Jun 2, 2014 10:20 AM(2106 views)
I would like to create a single JSL script that will create a V List Box of overlay plots only for those columns that exist in a data file. The names of the columns may change from file to file, or may be absent or present. I can't figure out how to create an Overlay Plot where I list all possible variables to be plotted, but only plot those present in the current data table.
Any suggestions would be greatly appreciated.
For example, plot the following soil temperatures if present in the current data table, but assume that the last column (Tsoil - 10cm #2 (C), or any other column for that matter, is absent.
I had been playing with lists and came up with the following solution to my problem before your post. Similar to what you proposed, but best for my application since it lets me define the potential list of variables that could be found in the numerous data files that need to be plotted.