hammer/aitoff projection-changing the axis

Hi there,
I am trying to rotate the axis of my hammer plot. They are set to span from
-pi to pi along the x-axis and pi/2 to -pi/2 on the y-axis, however, I would
like the axis to go from 0 to 2*pi on the x-axis. I am using this for the
first time, my code is just:

subplot(111, projection="hammer")
p=plot([a],[b],"o")
grid(True)
show()

does anyone know what i need to add to this to change the limits of the
x-axis?

···

--
View this message in context: http://old.nabble.com/hammer-aitoff-projection-changing-the-axis-tp29094391p29094391.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

Try out the xlim() function. It can take a tuple of values, or two arguments.

Ben Root

···

On Wed, Jul 7, 2010 at 4:57 AM, abbb <ab370@…3187…> wrote:

Hi there,

I am trying to rotate the axis of my hammer plot. They are set to span from

-pi to pi along the x-axis and pi/2 to -pi/2 on the y-axis, however, I would

like the axis to go from 0 to 2*pi on the x-axis. I am using this for the

first time, my code is just:

subplot(111, projection=“hammer”)

p=plot([a],[b],“o”)

grid(True)

show()

does anyone know what i need to add to this to change the limits of the

x-axis?

View this message in context: http://old.nabble.com/hammer-aitoff-projection-changing-the-axis-tp29094391p29094391.html

Sent from the matplotlib - users mailing list archive at Nabble.com.


This SF.net email is sponsored by Sprint

What will you do first with EVO, the first 4G phone?

Visit sprint.com/firsthttp://p.sf.net/sfu/sprint-com-first


Matplotlib-users mailing list

Matplotlib-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-users