Reputation:
This might be really basic, but how can I plot a vertical line from Y= 0 to Y = plot-y-max every X time step ? I used if ticks mod 100 = 0 [plotxy ticks plot-y-max]
but its not working.
Can anyone please help me with this simple problem ?
Upvotes: 1
Views: 861
Reputation: 871
You could modify your approach to:
if ticks mod 100 = 0 [
plot-pen-up
plotxy ticks 0
plot-pen-down
plotxy ticks plot-y-max
]
Upvotes: 2