There could be several possible reasons, I mention the most probable ones: 1. When running scripts, explicitly call display() on your plot object. For example: using Plots p = plot(1:10, rand(10)) display(p) 2. Try Different Backends. 3. Restart VSCode. 4. Ensure Plot Pane is Enabled: Go to the settings in VSCode and make sure that the "Use Plot Pane" option is enabled. This setting allows plots to be displayed directly within the VSCode interface. 5. Start Julia REPL Correctly: Make sure to start Julia using the command Julia: Start REPL from the command palette (Ctrl+Shift+P). Starting it manually from a terminal may not integrate properly with VSCode.
Plots.jl doesn't have a dedicated gauge chart function, you can achieve similar visualizations with some creativity and its core plotting functionalities.
What do you do if VScode does not display any image when using Plots?
There could be several possible reasons, I mention the most probable ones:
1. When running scripts, explicitly call display() on your plot object. For example:
using Plots
p = plot(1:10, rand(10))
display(p)
2. Try Different Backends.
3. Restart VSCode.
4. Ensure Plot Pane is Enabled:
Go to the settings in VSCode and make sure that the "Use Plot Pane" option is enabled. This setting allows plots to be displayed directly within the VSCode interface.
5. Start Julia REPL Correctly:
Make sure to start Julia using the command Julia: Start REPL from the command palette (Ctrl+Shift+P). Starting it manually from a terminal may not integrate properly with VSCode.
Helpful video. There´s a way I can convert a plot into an image and download it as PNG or JPG?
Yes, you can use "savefig" function.
Very good tutorial, thank you!
Glad you enjoyed it!
thanks for this video, is it possible to make Gauge using this lib?
By Gauge, are you referring to Gauge charts?
with the same library which you are using is it possible to make gauge visualization? or gauge still not supported?@@Numeryst
Plots.jl doesn't have a dedicated gauge chart function, you can achieve similar visualizations with some creativity and its core plotting functionalities.
Why do you need vscode? Won't any terminal do?
You can use terminal but that depends on your goals and what you are comfortable with!
Why doesn't the figure fill the entire width of the plot pane of VSCode?
You should specify figure size and whether you keep the aspect ratio fixed or not.
@@Numeryst Thank you and thanks for the video series on Julia.
@@NamasenITN You're welcome!
Do you have a list of what extensions you are using?
For VSCode? For VSCode, I only use Julia VSCode extension.
video is nice, but I copied 3D plot script and it didn`t work :(
You probably have not imported the packages properly. I have run the code in the video!
Where could i learn Julia
Here is the link:
th-cam.com/play/PLLlTVphLQsuM7pZgoQym3VxIbqnz-Uxna.html
Thank you
@@soyuz3352 You're welcome!
Looks simpler than matplotlib.
Yes, indeed, it is simpler!