Hi,

I want to plot some data curves on a graph that contains a filled area.
Imagine for example that in
http://pyx.sourceforge.net/gallery/graphs/integral.py
I want to plot, apart from the curve (x,f(x)) and the area under it,
another curve (x,g(x)).
To define the area I need to finish the graph, to make the paths
available. But then the area covers
my data curves... How could I solve this?

My feeling is that I am missing something trivial :)


figure.plot(graph.data.list(...))
figure.finish()

# Define my area
area = ...
figure.fill(area)  # The curves are under the area

I have tried to assign the paths to some variables, to stroke them
after calling figure.finish,
but it does seem to work.


Thanks so much,

Mico

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to