|
From: Benjamin R. <ben...@ou...> - 2014-09-22 16:39:39
|
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 >>> >>> >> > |