|
From: Adam H. <hug...@gm...> - 2014-09-22 17:28:47
|
I guess I could change my API a bit to allow for data that would better fit ax.plot3d. I suppose plot3d is really what I'm trying to make, where I'd just pass 5 evenly spaced curves from my dataset. If you think of a hacky solution even, can you shoot me a message? Thanks for your help and the heads up about the graphics bugs. On Mon, Sep 22, 2014 at 12:39 PM, Benjamin Root <ben...@ou...> wrote: > Sorry, that isn't possible in the current design. Instead, I would suggest > making a line plot on top of surface mimicking this. Although, depending on > the shape of the surface, this may not work out well as mplot3d may not > properly compose such a scene of mixed objects. > > Also, as a side note, be careful saving figures with zero linewidths as > certain vector backends (e.g., pdf, ps) don't properly respect such > linewidths. I think most of such bugs were fixed for v1.4.0, but there were > a few additional bugs that are going into the upcoming v1.4.1 release. > > Cheers! > Ben Root > > On Mon, Sep 22, 2014 at 12:29 PM, Adam Hughes <hug...@gm...> > wrote: > >> Thanks benjamin. Not sure how I overlooked this! >> >> You wouldn't happen to know how to remove the cstrides while keeping the >> rstrides in tact? By strides, I guess I don't mean strides per-se, but the >> contour lines themselves that run over the surface. >> >> On Mon, Sep 22, 2014 at 9:55 AM, Benjamin Root <ben...@ou...> wrote: >> >>> I think you can just set the linewidth to zero like in these examples: >>> >>> http://matplotlib.org/examples/mplot3d/surface3d_demo.html >>> http://matplotlib.org/examples/mplot3d/surface3d_demo3.html >>> >>> Cheers! >>> Ben Root >>> >>> On Sat, Sep 20, 2014 at 7:44 PM, Adam Hughes <hug...@gm...> >>> wrote: >>> >>>> Also, is it possible to change the stride color/opacity? Not for this >>>> plot in particular, but for surface plots, I'd rather not have dense black >>>> strides on my surface. Can't find the right keyword call through the 3d >>>> API. Sorry if I'm overlooking something obvious in the docs >>>> >>>> On Sat, Sep 20, 2014 at 7:31 PM, Adam Hughes <hug...@gm...> >>>> wrote: >>>> >>>>> Hi, >>>>> >>>>> I was using wireframe to plot my spectroscopy data, and noticed if I >>>>> choose a large R-stride, I somewhat unexpectedly get this really helpful >>>>> evenly spaced spectral plot (attached). >>>>> >>>>> The only issue is that there's still the cstride connecting some of >>>>> the peaks. I'd like to get rid of this, but it seems that at least one >>>>> cstride is necessary. Anyone have any hacking ideas on how to get rid of >>>>> this? >>>>> >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Slashdot TV. Video for Nerds. Stuff that Matters. >>>> >>>> http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk >>>> _______________________________________________ >>>> Matplotlib-users mailing list >>>> Mat...@li... >>>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >>>> >>>> >>> >> > |