Re: [Matplotlib-users] Retake control of colorbar?

2010-02-11 Thread Chloe Lewis
How about returning the colorbar limits from pcl(), and using the larger extent of those limits and the ones from the scatter data when you call the colorbar in sct()? (ScalarMappables have get_clim(), set_clim().) Or, more generally, record the data limits and have both functions check th

[Matplotlib-users] Retake control of colorbar?

2010-02-10 Thread Bror Jonsson
Dear all, This is probably a silly question based on my bias from matlab, but I have tried for two days without luck. I need to make pcolor plots in several figures, and the go back and add a scatter on each. This procedure is necessary due to how I read the data. My problem is that I can't fi

[Matplotlib-users] Retake control of colorbar?

2010-02-10 Thread Bror Jonsson
Dear all, This is probably a silly question based on my bias from matlab, but I have tried for two days without luck. I need to make pcolor plots in several figures, and the go back and add a scatter on each. This procedure is necessary due to how I read the data. My problem is that I can't fi