Removing background on a 3d plot Julia - matplotlib

I am having some real trouble trying to plot nice things with Julia.
I first used PyPlot which I was happy with but I had to be able to change the angle on a 3D plots (in that case using surface) so I now use Plots directly with the camera speficication. I would like to remove the background on a 3D plot.
using PyPlot, the following command :
ax=gca(); ax:set_axis_off
works fine.
When using Plots, I tried the following :
using Plots; pyplot(grid=false)
and then my code for the surface, and it does not change the output.
I also tried the first example on this page :https://github.com/JuliaPlots/Plots.jl/pull/695 and grid specification does not work (grids are the same on every area of the layout).
I tried after updating every package and it still does not work.
Does anyone have an idea about what would the problem be please?
Thank you in advance !

Related

In matplotlib, how can the backgrounds of this graph and how do you set an arrow as an upperbound as shown on the right side of the graph?

I'm currently working on creating graphs similar to the ones above, but I don't know which functions create the backgrounds (like the hashed lines and solid blue background) and how to set the arrows as an upperbound (as opposed to an errorbar). Can someone please help? Thanks!
beautiful graph
I tried using the uplims parameter within a plt.errorbar, but that arrow was very different from the one in the graph attached. I've tried different backgrounds, but I still haven't figured out which ones are used in this graph.

OpenCV is not graying an image with cv2.cvtColor when displayed with matplotlib

I tried to gray an image but it does not work properly like it should. It just applied a kind of filter as you can see by using cv2.COLOR_BGR2GRAY function. Kindly someone help me to get over with this issue.
Your issue is that you're using matplotlib to show your grayscale image. Matplotlib applies a colormap. By default that's a colorful one.
Add cmap="gray" in your imshow call: plt.imshow(img_gray, cmap="gray")

How to plot xyz point data using deck.gl

Im very new to DeckGL and was wondering if I can plot regular data on it. For example I have a Datset of Points that I would like to plot. But I havent had much sucess using the Scatterplot layer (https://deck.gl/examples/scatterplot-layer/). I think DeckGL expects me to supply geoCoordinates but I want to plot XYZ plots using it. Is this possible to do? I tried to emulate the 3d point cloud example - but that really didnt work very well for me.

Core Plot Multiple Selection

i'm creating a stock chart, where i need to be able to select a period range from a chart and display that period on other chart. To do that i need to be able to have 2 select points on first chart to select values.
I saw this similar question, but it doesn't have enough explanation on how to do it, since i'm a newbie regarding to Core Plot and chart manipulation.
Can someone provide some sample code about this question?
thanks in advance.
Use scatter plots to draw the selection lines. You can draw them both with the same plot if you want the same line style. The Mac version of the CPTTestApp example app includes a selection demo that uses a scatter plot to draw a cross shape over the selected point. You could easily modify that to draw only the vertical line.
Ended up using HighStocks Chartsand embedded it on a webview and load HTML pages with JS.
Thank You all for your help.

How do i set the borders of an mplot3d, and also make the grid lines lie behind the plot?

I have this plot as part of a PySide program;
And there are two problems I have with it. The first is the ugly grey border. I know I can can get rid of it using the toolbar option, but I can't find a way to it programatically, or make it default to that when it plots...
The second issue, is that it is drawing the grid lines on top of the surface, which I would rather it didn't do... How do I get the grid lines to be drawn underneath the surface?
EDIT:
i'm using version 1.1.1;
this doesn't happen for all plot types - i.e.
that is fine.
If i try and plot multiple objects, then it can be a problem;
but i understand that's a limitation of mplot3d not being a try 3D engine, just a set of 3D images with a Z-Ordering, so the order of objects drawn becomes orientation dependant. (same graph - different angle: enter link description here).
The grid lines should surely always be at the bottom of the drawing though, no? Is there a way to force them to be?
Will.