I have two vectors, one being all my longitudes and the other being all my latitudes. My longitude vector has a length of 720 and my latitude vector has a length of 360.
In addition to these vectors, I have a matrix that is 360x720 containing all the elevations corresponding to a longitude-latitude coordinate point. I need to use contour()
to plot my topographical map, but I keep on getting
Error in plot.new() : figure margins too large"
when I try contour(lat_vec,long_vec,elev_matrix)
.
Any solutions to this?