I have this code
plot(1:20,1:20,rand(RGB{Float64}, 20, 20))
Here the y-axis goes from top to bottom, and the x-axis from left to right. But what if I want both to start from the bottom left corner? I can easily transform the color matrix for this, but how do I make the ticks happen? I want ticks for 1
on the bottom of the y-axis and at the left of the x-axis. This code has no effect:
plot(20:-1:1,1:20,rand(RGB{Float64}, 20, 20))
(except for creating a white border to the left)
using
plot(1:20,20:-1:1,rand(RGB{Float64}, 20, 20))
have a similar (lack of) effect.
Next question, say that the two axes have different scales, so I want something like:
plot(10:10:200,1:20,rand(RGB{Float64}, 20, 20))
then the plot itself gets wrapped (and it becomes very hard to see what happens in y-direction). Is there a way to set the scale of the ticks, without actually re-scaling the entire plot?