SourceForge logo
SourceForge logo
Menu

matplotlib-users

From: Dawes, A. M. <da...@pa...> - 2014年06月27日 00:17:26
I’m trying to plot a 3d surface with a box frame around both sides (see example in the following link)
comparable example:
http://cloud.originlab.com/www/products/images2/3DGraph_ColorSurface.png
I made the axis panes white and disabled the grid which gets me 80% of the way. I don’t see anything obvious for showing additional axis lines to make the rest of the box (if such an option exists).
Any suggestions/hacks are welcome!
Thanks, Andy
--
Andrew M.C. Dawes
Associate Professor of Physics
Pacific University
amcdawes.com
From: Benjamin R. <ben...@ou...> - 2014年06月27日 01:27:20
If you supply the code you did to get where you got, I have a rough idea
how to get what you need. Essentially, you need to set the edgecolor of the
panes, I think. I have to dig a bit in the code to see how to do that,
though.
Cheers!
Ben Root
On Thu, Jun 26, 2014 at 7:42 PM, Dawes, Andrew M. <da...@pa...>
wrote:
> I’m trying to plot a 3d surface with a box frame around both sides (see
> example in the following link)
>
> comparable example:
> http://cloud.originlab.com/www/products/images2/3DGraph_ColorSurface.png
>
> I made the axis panes white and disabled the grid which gets me 80% of
> the way. I don’t see anything obvious for showing additional axis lines to
> make the rest of the box (if such an option exists).
>
> Any suggestions/hacks are welcome!
>
> Thanks, Andy
>
>
> --
> Andrew M.C. Dawes
> Associate Professor of Physics
> Pacific University
> amcdawes.com
>
>
> ------------------------------------------------------------------------------
> Open source business process management suite built on Java and Eclipse
> Turn processes into business applications with Bonita BPM Community Edition
> Quickly connect people, data, and systems into organized workflows
> Winner of BOSSIE, CODIE, OW2 and Gartner awards
> http://p.sf.net/sfu/Bonitasoft
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>
From: Dawes, A. M. <da...@pa...> - 2014年06月27日 18:04:35
Thanks Ben for the tip on edgecolor. I’ve got what I wanted now and since it took some digging and tinkering I figured I’d write it up and share the solution with anyone who may want it:
https://dawes.wordpress.com/2014/06/27/publication-ready-3d-figures-from-matplotlib/
and full test-case script here:
https://github.com/DawesLab/Qfunction/blob/master/TestQfunc.py
This creates two surface plots with contours below them, labels placed tight to the axes, and some other bits that make it work well for publishing in a two-column journal (black & white, color online).
I’m happy to format and post this to the official documentation if that would be helpful.
Best,
Andy
--
Andrew M.C. Dawes
Associate Professor of Physics
Pacific University
amcdawes.com
On June 26, 2014 at 6:27:10 PM, Benjamin Root (ben...@ou...<mailto:ben...@ou...>) wrote:
If you supply the code you did to get where you got, I have a rough idea how to get what you need. Essentially, you need to set the edgecolor of the panes, I think. I have to dig a bit in the code to see how to do that, though.
Cheers!
Ben Root
On Thu, Jun 26, 2014 at 7:42 PM, Dawes, Andrew M. <da...@pa...<mailto:da...@pa...>> wrote:
I’m trying to plot a 3d surface with a box frame around both sides (see example in the following link)
comparable example:
http://cloud.originlab.com/www/products/images2/3DGraph_ColorSurface.png
I made the axis panes white and disabled the grid which gets me 80% of the way. I don’t see anything obvious for showing additional axis lines to make the rest of the box (if such an option exists).
Any suggestions/hacks are welcome!
Thanks, Andy
--
Andrew M.C. Dawes
Associate Professor of Physics
Pacific University
amcdawes.com<http://amcdawes.com>
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Matplotlib-users mailing list
Mat...@li...<mailto:Mat...@li...>
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
From: Sturla M. <stu...@gm...> - 2014年06月29日 20:35:13
"Dawes, Andrew M." <da...@pa...> wrote:
> Any suggestions/hacks are welcome!
Mayavi (a VTK-based plotting tool) is much better for 3D plots:
http://docs.enthought.com/mayavi/mayavi/auto/examples.html
http://docs.enthought.com/mayavi/mayavi/mlab.html
Sturla
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /