a quick way to plot 3D surface with point coordination?

I think it should be possible to do unsorted scatter plot, so you can
avoid the second loop. Maybe the current source doesn't allow for,
but it's certainly possible (hu, I'm not that aquainted with current
z-sorting code, so maybe I'm wrong?) It may be that current z-sorting
uses the mesh grid.

One point caught my attention: Maybe use sets, or check in loop 1 if
you do not duplicate x or y data?

Do you mask the mesh points not used?

Friedrich

P.S.: And make shure to select "Answer to all" :slight_smile:

2010/4/2 ericyosho <ericyosho@...287...>:

···

Thanks, Friendrich,

So the only problem narrows down to whether I've got to loop through
the dict to form all the arrays, or there might be some way to define
a "formatter", so that when I apply this formatter on to the
dictionary, it splits the data into arrays properly.

Zhe Yao

Year, I think we could do unsorted scatter plot as well, however I'm
still not satisfied with the book tracking routines I have to check
when doing the surface plotting.

Anyway, thanks, man. You saved a lot.

Hope this time, it CC to the mailing list as well. :slight_smile:

2010/4/4 ericyosho <ericyosho@...287...>:

Year, I think we could do unsorted scatter plot as well, however I'm
still not satisfied with the book tracking routines I have to check
when doing the surface plotting.

What do you mean with "book tracking routines"?

Anyway, maybe griddata would help you:
http://matplotlib.sourceforge.net/api/mlab_api.html#matplotlib.mlab.griddata

Friedrich

Yes,
Thanks, Friedrich. :slight_smile:
This is exactly what I want. By now I know we have to plot over a
uniformly sampled plane any way at the end of the day, no matter
whether our original data is uniformly sampled or not.

Zhe Yao

···

On Thu, Apr 8, 2010 at 6:07 PM, Friedrich Romstedt <friedrichromstedt@...287...> wrote:

2010/4/4 ericyosho <ericyosho@...287...>:

Year, I think we could do unsorted scatter plot as well, however I'm
still not satisfied with the book tracking routines I have to check
when doing the surface plotting.

What do you mean with "book tracking routines"?

Anyway, maybe griddata would help you:
http://matplotlib.sourceforge.net/api/mlab_api.html#matplotlib.mlab.griddata

Friedrich