Zoom plot of an output file? #821
Answered
by
knutfrode
AndresSepulveda
asked this question in
Q&A
-
Hi, How do I do a plot of a portion of the domain using an output file? I have this already: import opendrift o = opendrift.open("archivo.nc", elements=np.arange(0,392000,100)) o.plot(filename="archivo.png",linecolor="z",fast = True) Cheers, Andrés |
Beta Was this translation helpful? Give feedback.
Answered by
knutfrode
Jan 4, 2022
Replies: 1 comment
-
You can add like in this example: |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
AndresSepulveda
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can add
corners=[lonmin, lonmax, latmin, latmax]
like in this example:
https://opendrift.github.io/gallery/example_grid.html