[Matplotlib-users] basemap, boundinglat, and spstere

2014-09-07 Thread Ken Mankoff
Hi, I'm having trouble with Basemap South Pole Stereographic projections. The required "boundinglat" doesn't seem to work properly, and I hope someone can help me figure out the correct syntax. I have the following information about the data: extent: -3,333,500 to 3,333,500 m true scale latitude

[Matplotlib-users] Curvilinear grid with modified axes labels

2014-09-07 Thread Mannucci, Anthony J (335G)
I have studied how to make floating axes with curvilinear grids. However, I cannot figure out how to achieve my desired goals. The code snippet below is a distillation that takes me part-way there. I cannot seem to access/modify the radial tick labels and their locations. I am plotting data in

Re: [Matplotlib-users] Filling area between two values

2014-09-07 Thread Oliver
pyplot.gca().set_xlim([0, 10]) 2014-09-07 13:20 GMT+02:00 Albert Yiamakis : > Hello, > > When creating a simple plot with > > xs = [0.01*x for x in range(1000)] > ys = [x*x for x in xs] > pyplot.fill_between(xs, ys) > > The plot shows between x=0 and x=10, as expected. > However, when looking t

[Matplotlib-users] Filling area between two values

2014-09-07 Thread Albert Yiamakis
Hello, When creating a simple plot with xs = [0.01*x for x in range(1000)] ys = [x*x for x in xs] pyplot.fill_between(xs, ys) The plot shows between x=0 and x=10, as expected. However, when looking to fill between 2 and 8, in this way: b = [False if x<2 or x>8 else True for x in xs] pyplot.fill