hughesadam87 / scikit-spectra

Python pandas-based toolkit for explorative spectroscopy, in particular UVVis spectroscopic data.
Other
94 stars 41 forks source link

Wireframe and 3dplot API #112

Open hughesadam87 opened 10 years ago

hughesadam87 commented 10 years ago

Wireframe is just another style of 3d plot. Also depends on ZZ.

http://matplotlib.org/mpl_toolkits/mplot3d/tutorial.html

Maybe a "style" could switch between them? Looks like strides are dependent on data values. EG different data with same style has different strides. Presumably this is a problem with 2d plots as well. I think style=wireframe should default some stride values based on data, change default color and axis view.

Alternative to style is could have separtae 3d plots like

plotting.wireframe plotting.contour3d etc...

but these are probably not too helpful. Only resort to this if style option is not suitable for some use case that I'm not seeing ATM

hughesadam87 commented 10 years ago

Although matplotlib's api keeps these plot separated so do I want to break their API? Maybe ask them for advice?

hughesadam87 commented 10 years ago

Is it straightforward to drop 3d draggable axis as is done in fishnet plots of 2dCS book?

hughesadam87 commented 10 years ago

Ok, keep these plots separate for the 3d API. That way, can send users right to MPL docs instead of writing my own. THere's also too many fancy kwargs to be kept track of on these 3d plots. Just stick to MPL API. Maybe a single decorator or thing that adds custom labels and what not.