line drawing bug or it's me doing something wrong?

hello,

I'm a quite new user of matplotlib - currently I'm working with
scikits.timeseries and ran into a problem with rendering plots.

I can draw scatter plots with dots ('.'), but when using lines ('-',
'--', or similar) the graph breaks when missing data occurs.

The best way to describe the problem would be an example:

I'm trying to render the first example from the page:
http://pytseries.sourceforge.net/lib.plotting.examples.html

and what I get looks like the plotting was somehow 'stopped' after the
first occurence of a hole in the data:
http://img191.imageshack.us/img191/5506/testg.png

After changing the marks to dots ('.') it renders like this (correctly):
http://img97.imageshack.us/img97/269/imageap.png

I have searched a bit and found a bug with path.simplify, but setting
it to False doesn't change this behaviour.
I'm using matplotlib-0.99.1.1 from the Gentoo packages.

What can be the reason?

greetings,
Paweł Rumian

OK, I've done more tests.

The problem occurs always when plotting data from masked array with lines.

When there is a masked field in the array, drawing is stopped, and so
if the first element is masked, no output can be seen.

When all fields are unmasked, there is no problem.
Also, drawing with dots works correctly.

Can anybody check if this is a bug or a problem with my setup?

greetings,
Paweł Rumian

Does this example work for you?

   http://matplotlib.sourceforge.net/examples/pylab_examples/masked_demo.html

I don't have scikits.timeseries installed, so I can't confirm whether your original attached example works or not. Can you produce a standalone example that reproduces the problem?

Mike

Paweł Rumian wrote:

···

OK, I've done more tests.

The problem occurs always when plotting data from masked array with lines.

When there is a masked field in the array, drawing is stopped, and so
if the first element is masked, no output can be seen.

When all fields are unmasked, there is no problem.
Also, drawing with dots works correctly.

Can anybody check if this is a bug or a problem with my setup?

greetings,
Paweł Rumian

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
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