You can set the rcParam "path.simplify" to False to turn off this behavior.

However, the goal is that the simplification is not noticable -- if it 
is that may be a bug.  Are you able to share your data so I can look 
into this further?

Cheers,
Mike

Will Grover wrote:
> Hello matplotlib users,
>
> I'm using matplotlib to plot some large data sets (1 million x,y
> pairs) and I've noticed that, when zoomed out to view the whole plot,
> it looks as if only every Nth point is being plotted, maybe in an
> attempt to improve plotting performance in complex plots.  When I zoom
> in I can see points that were clearly missing in the zoomed-out view.
> Is there any way to override this so that the plot really does show
> all the points, regardless of zoom?  I've included my really simple
> plotting code below, and I'm using the "scipy superpack" (python 2.5,
> matplotlib-0.98.6) on an OS X 10.5.7 Mac.
>
> Many thanks for any help!
>
>    --Will
>
>
>
> import pylab
> import smr
> import sys
> for freqs, stats, chronos in smr.loadData(sys.argv[1:]):  # loads data
> into numpy.arrays
>       pylab.plot(chronos, freqs)
>       pylab.show()
>
> ------------------------------------------------------------------------------
> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
> is a gathering of tech-side developers & brand creativity professionals. Meet
> the minds behind Google Creative Lab, Visual Complexity, Processing, & 
> iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
> Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>   

-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA


------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to