1 / 5

Skills Sharing: How to Log-Log subplot with strings as labels

Skills Sharing: How to Log-Log subplot with strings as labels. GLEON Fellowship Workshop January 14-18, 2013 Sunapee, NH Emily Kara Read. Strings as labels. This script is an example of how to pull strings (text) from a cell array to use as a label

lorin
Télécharger la présentation

Skills Sharing: How to Log-Log subplot with strings as labels

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Skills Sharing:How to Log-Log subplot with strings as labels GLEON Fellowship Workshop January 14-18, 2013 Sunapee, NH Emily Kara Read

  2. Strings as labels • This script is an example of how to pull strings (text) from a cell array to use as a label • For example, if you import a .txt file that has text headers, that text will not be recognized as data, but as strings. Those strings can be accessed for functions such as to make a figure label or axis label using the syntax described here

  3. Skill relevance/usefulness • Seems so simple but non-intuitive • Didn’t know how to make labels from array of strings • Learned how to do and wrote a script for reference • Very handy because maximizes automation for scripting functions

  4. Application to data • Used EPA NLA dataset as a example case • Water quality dataset from >1000 lakes all sampled in 2007 • Main challenges • Non-intuitive syntax • Hard to search for examples • Horizontal concatenation • title(labels{i});

  5. Data visualization

More Related