Help:Drawing graphs: Difference between revisions
Jump to navigation
Jump to search
(→R-tools: kivilajidata added) |
m (→R-tools) |
||
Line 30: | Line 30: | ||
y = paste("Pitoisuus,", data.time$pitoisuusUnit[1]), | y = paste("Pitoisuus,", data.time$pitoisuusUnit[1]), | ||
x = "Mittauspaikka" | x = "Mittauspaikka" | ||
) | ) + | ||
theme(axis.text.x = element_text(angle = 90, hjust = 1)) # Turn text and adjust to right | |||
########### Concentrations in time | ########### Concentrations in time |
Revision as of 19:49, 3 February 2013
Moderator:Jouni (see all) |
|
Upload data
|
Question
How to draw graphs in Opasnet?
Answer
R-tools
In R-tools, you have the functionalities of R available. We recommend that you use the package ggplot2 whenever possible. It is very powerful, and borrowing good ideas from others is easier if we all use the same approach. Of course, it is also possible to use plot' (a kind of basic graph) as well, but the limits come sooner. This is an example code that contains all kinds of examples with comments.
GoogleDocs
GoogleDocs is the method of choice for drawing causal diagrams.
- Make a drawing.
- Share it with everyone with open editing.
- Download is in png or svg format.
- Upload the file to Opasnet and copy a link to the original Google document to the image page.
- Use like any image.