Talk:DataONE:Notebook/Data Citation and Sharing Policy/2010/07/22: Difference between revisions
From OpenWetWare
Jump to navigationJump to search
(tips on R plots) |
(fixed info about how to embed an image so it shows up) |
||
Line 8: | Line 8: | ||
* save as png and embed. Do you know how to save a figure in R? see | * save as png and embed. Do you know how to save a figure in R? see | ||
?png | ?png | ||
for examples. Then you can upload to OWW, and I think make it show up in the body of your pages using [[ | for examples. Then you can upload to OWW, and I think make it show up in the body of your pages using | ||
<pre> | |||
[[File:Example.png]] | |||
</pre> | |||
as per http://www.mediawiki.org/wiki/Help:Images |
Revision as of 10:01, 22 July 2010
re: plotting
- Heather A Piwowar 12:56, 22 July 2010 (EDT): Nice work, Nic. A few tips to make these plots easier to read for others, and for embedding in papers, later.
- add a title. Right after doing plot(response), do
title("This is a title")
and you should see it appear at the top of the plot
- rename your variable. I wasn't very creative in calling the new variable simple.var, so you can do way better :) Use a different variable name for the shared variable ("any.sharing.policy" or somehting) than for the cited instructions variable ( "any.cited.policy" or "has.policy.on.cite.format" or something). That will make the variable at the bottom of your plots (and your code) easier to decypher
- save as png and embed. Do you know how to save a figure in R? see
?png
for examples. Then you can upload to OWW, and I think make it show up in the body of your pages using
[[File:Example.png]]