plots.md 450 Bytes
Newer Older
Victor's avatar
Victor committed
1
2
# Plotting

Victor's avatar
Victor committed
3
EVOID comes with Plot recipes.
Victor's avatar
Victor committed
4
```julia
Victor's avatar
Victor committed
5
function plot(sim::Simulation;trait = 1)
Victor's avatar
Victor committed
6
7
```

Victor's avatar
Victor committed
8
9
10
11
12
13
14
## Arguments
- if `length(trait) == 1` then we scatter plot `trait` along time
- if `2 <= length(trait) <= 3` then we project world of the last time step in the two  (three) dimensional trait space define by `trait`

!!! warning "To be implemented"
        We might want to get a 3 dimensional scatter plot
        with time, trait1 and trait2 as axis