Evan Mason wrote:
Hi, I am having some problems using the oblique mercator projection in
basemap. I want to define a rectangular orthogonal grid, rotated
clockwise by about 13 degrees. I want to define grid cells of size,
say, about 20x20 km. The script I have so far is below. The
jlu wrote:
Has anyone had any luck plotting a Healpix (sky pixelization used in
astronomy) map using matplotlib basemap... or any other python
plotting package for that matter?
Cheers,
Jessica
Jessica: I don't know anything about Healpix, but if you are more
specific about what the
On Feb 12, 2008, at 8:39 PM, Evan Mason wrote:
dl = 2.
nx = int((M.xmax - M.xmin) / dl) + 1
ny = int((M.ymax - M.ymin) / dl) + 1
lonr, latr = M.makegrid(nx, ny)
plot(lonr, latr, 'c.')
show()
I think you might be looking for M.plot() rather than plot()??
plot() will just overwrite
Evan Mason wrote:
Thanks for the replies. The map you produced, Jeff, looks as it
should. However, I am trying to make an ocean model grid, and so I
require two 2d arrays of lon and lat, at my desired grid spacing.
This is why I try the steps:
dl = 2.
nx = int((M.xmax - M.xmin) /
José Gómez-Dans wrote:
Hi,
Is there a simple way to come up with a random colourmap? I need to plot
discrete values, and I would like that the colours do not show a trend, to
easily distinguish them?
It might help if you described the application. I am guessing that you
have a small
Well, looks like nobody has an answer to this
question.
How'bout py2exe or other ways of creating exe files
out of matplotlib projects? Has anybody been able to
do that?
--- [EMAIL PROTECTED] wrote:
Has anybody been able to create an exe of their
python
applications involving matplotlib
Thanks for the replies. The map you produced, Jeff, looks as it should.
However, I am trying to make an ocean model grid, and so I require two 2d
arrays of lon and lat, at my desired grid spacing. This is why I try the
steps:
dl = 2.
nx = int((M.xmax - M.xmin) / dl) + 1
ny = int((M.ymax -
Hi,
Is there a simple way to come up with a random colourmap? I need to plot
discrete values, and I would like that the colours do not show a trend, to
easily distinguish them?
I read the cookbook entry on Doing your own colormap, but can't seem to
bring my mind into it!
Cheers!
Jose
Hello all,
Could someone offer suggestions for (preferably) python code to compute:
* day/night terminator position
* solar zenith angle
I'm developing a basemap application that is required to hide contour
data in the night regions of the earth.
The projections will be Mercator and
By losing the memory I mean that the grid is no longer rotated; that the
rotation I introduced through lat1, lon1, lat2, lon2 is lost. If you look
at the latitude of the two bottom corners you see that they are the same,
they should be different - for the matlab script they are different. In
Evan Mason wrote:
Hi Jeff
Here are the corners:
lon_corners = N.array([-4.09300764,-35.76003475,-43.72330207,
-12.05627497])
lat_corners = N.array([41.90278813, 49.2136974, 14.7209971, 7.41008784])
The reason for the differences is that the matlab script is very
fiddly, lots of trial
11 matches
Mail list logo