Making response curves readable

26 views
Skip to first unread message

Aaron Sidder

unread,
Jun 21, 2015, 12:33:46 PM6/21/15
to vistrai...@googlegroups.com
Hello,

I am preparing my work for a journal submission and would like to include my species response curves in an appendix.  Unfortunately, the response curves generated by SAHM have very small fonts on the axes and are difficult to read.  I've attached an example, which also includes some edits I made with axis labels and a variable title.  Does anyone know if there is a way to increase the font size or edit the output so that they are more readable?  Thanks,

Aaron
curr_brt1.png

Gericke Cook

unread,
Jun 21, 2015, 12:38:01 PM6/21/15
to Aaron Sidder, vistrai...@googlegroups.com

Hey Aaron, I believe that the expanded output folder generated by SAHM has a spreadsheet if the raw data for the response curves. You could read those into whatever graphics package you prefer to create custom graphs.

Gericke


--
You received this message because you are subscribed to the Google Groups "VisTrails SAHM" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vistrails-sah...@googlegroups.com.
To post to this group, send email to vistrai...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Talbert, Colin

unread,
Jun 22, 2015, 9:33:25 AM6/22/15
to Gericke Cook, Aaron Sidder, vistrai...@googlegroups.com, Marian Talbert
Hello Aaron,

I just took a look at the ..\ExpandedOutput\ResponseCurves.csv and it doesn't look like the x values for each variable are saved in that output file.  There's probably a straightforward way to calculate these (such as equally spaced values between the min and max of that covariate but I'll need to check on that). I'll also check with Marian to see if we can get the x values added to this output file for the next SAHM release.

Another option if you're comfortable in R is to open the model workspace which is saved in the output folder and regenerate them with modified font size.

A final last ditch option would be to open the files in an editor and manually replace or resize the text elements.

Colin

Thanks,
Colin

Colin Talbert
GIS Analyst and Developer
US Geological Survey


USGS Fort Collins Science Center 
2150 Centre Ave. Bldg. C
Fort Collins, CO 80526

USGS North Central Climate Science Center

Work schedule:
Monday       - 7:00 - 3:00  (FORT)
Tuesday       -  7:00 - 3:00  (NC CSC)
Wednesday  -  7:00 - 3:00 (FORT)
Thursday      -  7:00 - 5:00 (FORT)
Friday          -  7:00 - 5:00 (FORT)

Talbert, Marian

unread,
Jun 23, 2015, 5:45:12 PM6/23/15
to Talbert, Colin, Gericke Cook, Aaron Sidder, vistrai...@googlegroups.com
All the data needed to reproduce the response curves is in the csv Sorry it's not in the most intuitive form I'll try to clean it up with the next release I don't think anyone other than me has used that.  If for example if you read in the data using dat <- read.csv(...) column 2 has the first response (y)  column 3 the values of that variable for the predictor at the response so plot(dat[,2],dat[,3],type="l")
 should look like the response curve for the first predictor and plot(dat[,4],dat[,5],type="l") should look like the second response curve so you should be able to modify as needed.

Marian 
  
--
Marian Talbert
Research Statistician

North Central Climate Science Center
Colorado State University
Fort Collins, CO 80523

(970) 492-4283
mtal...@usgs.gov

Work schedule:
Tuesday       -   9:30 - 4:30  
Wednesday   -  9:30 -  4:30 
Thursday      -   9:30 - 4:30 

Gericke Cook

unread,
Jun 24, 2015, 12:17:30 AM6/24/15
to Talbert, Marian, Talbert, Colin, Aaron Sidder, vistrai...@googlegroups.com

Not true, Marian. I've used it and I like that you make that output accessible. :)

Aaron Sidder

unread,
Jun 26, 2015, 2:37:28 PM6/26/15
to Gericke Cook, Talbert, Marian, Talbert, Colin, vistrai...@googlegroups.com
Hi all, thanks for the responses and sorry for the late response, I've been in the field.  I found the response curves output and was able to figure out how to plot it and replicate the SAHM output.  Thanks for the help, I think I've got it from here.

Aaron
--
Aaron Sidder
 
Reply all
Reply to author
Forward
0 new messages