# Visualization

**URL:** https://discourse.julialang.org/c/domain/viz/17.md?page=75

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

**Page:** 76

---

## [MeshIO, BasicGeometry, AbstractPlotting -- type mismatchs and incompatibility](https://discourse.julialang.org/t/meshio-basicgeometry-abstractplotting-type-mismatchs-and-incompatibility/46850)

<div class="topic-metadata">

**Author:** [@Allan\_Baker](https://discourse.julialang.org/u/Allan_Baker)\
**Replies:** 0\
**Last updated:** [September 18, 2020, 2:24pm UTC](https://discourse.julialang.org/t/meshio-basicgeometry-abstractplotting-type-mismatchs-and-incompatibility/46850 "2020-09-18T14:24:28Z")

</div>

I had some Julia code that loaded in OBJ format files into Meshes and then plotted them with mesh! or wireframe! using Makie, etc. I stored the obj after loading in a struct where the obj mesh type had to be set to: Geo…

---

## [VegaLite - Interactive plots?](https://discourse.julialang.org/t/vegalite-interactive-plots/46708)

<div class="topic-metadata">

**Author:** [@Episki](https://discourse.julialang.org/u/Episki)\
**Replies:** 3\
**Last updated:** [September 17, 2020, 3:04pm UTC](https://discourse.julialang.org/t/vegalite-interactive-plots/46708 "2020-09-17T15:04:05Z")

</div>

Hi, is there a way to make VegaLite.jl plots interactive? is it somehow planned for future releases?(Home · VegaLite.jl). I’m looking for something similar to Altair for Python (https://altair-viz.github.io/) which is …

---

## [Plot a bar from the following table Please](https://discourse.julialang.org/t/plot-a-bar-from-the-following-table-please/46779)

<div class="topic-metadata">

**Author:** [@Mun\_Barimukh](https://discourse.julialang.org/u/Mun_Barimukh)\
**Replies:** 1\
**Last updated:** [September 17, 2020, 2:47pm UTC](https://discourse.julialang.org/t/plot-a-bar-from-the-following-table-please/46779 "2020-09-17T14:47:59Z")

</div>

I have the following table. Please help me out to get a bar chart from the table. using Pkg;Pkg.add(“StatsPlots”);using DataFrames;df=DataFrame(m) df2 = df |\> x → begin x\[:shoeprice\] =parse.(Int, replace.(df.shoeprice,…

---

## [Gabor Kernel](https://discourse.julialang.org/t/gabor-kernel/46380)

<div class="topic-metadata">

**Author:** [@rickybblock](https://discourse.julialang.org/u/rickybblock)\
**Replies:** 8\
**Last updated:** [September 16, 2020, 12:32pm UTC](https://discourse.julialang.org/t/gabor-kernel/46380 "2020-09-16T12:32:07Z")

</div>

Hi, I’m trying to create and visualize a Gabor kernel. First I used Kernel.gabor from ImageFiltering.jl and it worked, I think (I still have to learn how to use it to convolve with an image, but okay). gabor = Kernel.…

---

## [Adjusting markers in legend](https://discourse.julialang.org/t/adjusting-markers-in-legend/38042)

<div class="topic-metadata">

**Author:** [@jamblejoe](https://discourse.julialang.org/u/jamblejoe)\
**Replies:** 4\
**Last updated:** [September 15, 2020, 11:40am UTC](https://discourse.julialang.org/t/adjusting-markers-in-legend/38042 "2020-09-15T11:40:02Z")

</div>

Hi, I would like to adjust marker settings in the legend, e.g. size and strokewidth, ideally with the pyplot backend. In the following minimal working example I would like the markers in the legend to be the same as in …

---

## [Display an RGB array with Gtk.jl](https://discourse.julialang.org/t/display-an-rgb-array-with-gtk-jl/46506)

<div class="topic-metadata">

**Author:** [@noroskir](https://discourse.julialang.org/u/noroskir)\
**Replies:** 2\
**Last updated:** [September 12, 2020, 3:12pm UTC](https://discourse.julialang.org/t/display-an-rgb-array-with-gtk-jl/46506 "2020-09-12T15:12:33Z")

</div>

Hi there! I have an image as a 3dim RGB array Array{Int32, (width, height, 3)} and I want to render it with Gtk.jl. I have not yet found a description on how to do this. Can anyone help ? Thanks :slight\_smile:

---

## [GLMakie complains about missing OpenGl, which is there](https://discourse.julialang.org/t/glmakie-complains-about-missing-opengl-which-is-there/29582)

<div class="topic-metadata">

**Author:** [@zweiglimmergneis](https://discourse.julialang.org/u/zweiglimmergneis)\
**Replies:** 6\
**Last updated:** [September 11, 2020, 9:20pm UTC](https://discourse.julialang.org/t/glmakie-complains-about-missing-opengl-which-is-there/29582 "2020-09-11T21:20:38Z")

</div>

This might be a OS-problem (fedora 30), but I couldn’t find useful info elsewhere, so I post the problem here. build GLMakie issues an Error: (v1.2) pkg\> build GLMakie Building Conda ───────────→ \`~/.julia/package…

---

## [Current list of colorschemes in Plots.jl](https://discourse.julialang.org/t/current-list-of-colorschemes-in-plots-jl/5420)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 30\
**Last updated:** [September 10, 2020, 10:54am UTC](https://discourse.julialang.org/t/current-list-of-colorschemes-in-plots-jl/5420 "2020-09-10T10:54:32Z")

</div>

Is there a command to find out all the currently defined colorschemes? The one below that used to work is not working anymore: PlotUtils.\_gradients |\> keys |\> showall

---

## [Warp images and coordinates](https://discourse.julialang.org/t/warp-images-and-coordinates/46256)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 1\
**Last updated:** [September 8, 2020, 12:12pm UTC](https://discourse.julialang.org/t/warp-images-and-coordinates/46256 "2020-09-08T12:12:48Z")

</div>

I’m transforming an image using ImageTransformations.wrap, but I also want to use the same transformation to transform some coordinates. The idea is that a coordinate in the original image should be transformed to a coor…

---

## [Custom node dependent \`nodesize\`](https://discourse.julialang.org/t/custom-node-dependent-nodesize/46098)

<div class="topic-metadata">

**Author:** [@ohmsweetohm1](https://discourse.julialang.org/u/ohmsweetohm1)\
**Replies:** 0\
**Last updated:** [September 5, 2020, 11:09am UTC](https://discourse.julialang.org/t/custom-node-dependent-nodesize/46098 "2020-09-05T11:09:13Z")

</div>

Is it possible to use a custom method to compute the node size for a tree? using AbstractTrees, Plots, GraphRecipes mutable struct BinaryNode{T} data::T parent::BinaryNode{T} left::BinaryNode{T} right::…

---

## [Make plots in separate windows](https://discourse.julialang.org/t/make-plots-in-separate-windows/45815)

<div class="topic-metadata">

**Author:** [@Sanji\_Vinsmoke](https://discourse.julialang.org/u/Sanji_Vinsmoke)\
**Replies:** 7\
**Last updated:** [August 31, 2020, 8:01am UTC](https://discourse.julialang.org/t/make-plots-in-separate-windows/45815 "2020-08-31T08:01:22Z")

</div>

I want to plot different arrays and show the plot in separate windows when I run the julia script from the REPL using the include("\<name\>.jl") I searched it on the internet and I got to know about reuse = false, but whe…

---

## [Plotting coefplot](https://discourse.julialang.org/t/plotting-coefplot/45779)

<div class="topic-metadata">

**Author:** [@qwerytyui1234](https://discourse.julialang.org/u/qwerytyui1234)\
**Replies:** 4\
**Last updated:** [August 30, 2020, 3:25pm UTC](https://discourse.julialang.org/t/plotting-coefplot/45779 "2020-08-30T15:25:26Z")

</div>

Hello everyone, I am trying to plot something like this (attached below), but I am not able to find how to plot this particular way. How would you plot something like this? Thanks in advance.

---

## [Proposal for automatic diagram creation system for Julia - Inspiration Penrose](https://discourse.julialang.org/t/proposal-for-automatic-diagram-creation-system-for-julia-inspiration-penrose/45750)

<div class="topic-metadata">

**Author:** [@bradeneliason](https://discourse.julialang.org/u/bradeneliason)\
**Replies:** 1\
**Last updated:** [August 29, 2020, 6:31pm UTC](https://discourse.julialang.org/t/proposal-for-automatic-diagram-creation-system-for-julia-inspiration-penrose/45750 "2020-08-29T18:31:59Z")

</div>

Penrose is a system under development which automatically creates math diagrams that would be suitable for a textbook directly from abstract mathematical specification. A simple example is creating Venn diagrams from set…

---

## [Symmetrical log plot](https://discourse.julialang.org/t/symmetrical-log-plot/45709)

<div class="topic-metadata">

**Author:** [@gideonsimpson](https://discourse.julialang.org/u/gideonsimpson)\
**Replies:** 1\
**Last updated:** [August 29, 2020, 2:22am UTC](https://discourse.julialang.org/t/symmetrical-log-plot/45709 "2020-08-29T02:22:33Z")

</div>

Is there anyway to do a symmetrical log plot (i.e., in both positive and negative directions), through Plots.jl? I know matplotlib has this functionality.

---

## [Monochrome theme](https://discourse.julialang.org/t/monochrome-theme/45617)

<div class="topic-metadata">

**Author:** [@yordiak](https://discourse.julialang.org/u/yordiak)\
**Replies:** 5\
**Last updated:** [August 27, 2020, 12:00pm UTC](https://discourse.julialang.org/t/monochrome-theme/45617 "2020-08-27T12:00:53Z")

</div>

For publication purposes, I am interested to create a monochrome plots. In particular, how could I implement a monochrome theme in Plots (or in any other package) , similar to the Monochrome theme of Mathematica?

---

## [Can pyplot scatterplots take values smaller than 1e-16?](https://discourse.julialang.org/t/can-pyplot-scatterplots-take-values-smaller-than-1e-16/45438)

<div class="topic-metadata">

**Author:** [@nicolas](https://discourse.julialang.org/u/nicolas)\
**Replies:** 5\
**Last updated:** [August 26, 2020, 8:28am UTC](https://discourse.julialang.org/t/can-pyplot-scatterplots-take-values-smaller-than-1e-16/45438 "2020-08-26T08:28:52Z")

</div>

When running the following code, using Plots pyplot() x = exp.(randn(100) .- 36) y = exp.(randn(100) .- 36) plot(x,y, xscale = :log10, yscale = :log10, markershape = :square) The lines show perfectly, but funnily enoug…

---

## [How to change legends place with Plots, gr()?](https://discourse.julialang.org/t/how-to-change-legends-place-with-plots-gr/7294)

<div class="topic-metadata">

**Author:** [@cserteGT3](https://discourse.julialang.org/u/cserteGT3)\
**Replies:** 26\
**Last updated:** [August 25, 2020, 10:46am UTC](https://discourse.julialang.org/t/how-to-change-legends-place-with-plots-gr/7294 "2020-08-25T10:46:12Z")

</div>

I’m using Plots and GR, and can’t find a way to change the legends location in a plot. As I understand currently I can’t do it with Plots, there’s no keyword argument for it (correct me if I’m wrong). Can someone please…

---

## [Adding a trendline or line of best fit](https://discourse.julialang.org/t/adding-a-trendline-or-line-of-best-fit/44939)

<div class="topic-metadata">

**Author:** [@HelgavonLichtenstein](https://discourse.julialang.org/u/HelgavonLichtenstein)\
**Replies:** 7\
**Last updated:** [August 15, 2020, 1:12am UTC](https://discourse.julialang.org/t/adding-a-trendline-or-line-of-best-fit/44939 "2020-08-15T01:12:57Z")

</div>

I’m quite surprised there are no posts about trendlines or lines of best fit on these forums. Maybe they are called something else? The only thing I’ve been able to find online is this: using LinearAlgebra dates = 1:150…

---

## [Add line style to legend](https://discourse.julialang.org/t/add-line-style-to-legend/44667)

<div class="topic-metadata">

**Author:** [@HelgavonLichtenstein](https://discourse.julialang.org/u/HelgavonLichtenstein)\
**Replies:** 3\
**Last updated:** [August 14, 2020, 1:45pm UTC](https://discourse.julialang.org/t/add-line-style-to-legend/44667 "2020-08-14T13:45:48Z")

</div>

Is there a way to add something (in this case a line style) to a legend without plotting it? I am using Plot.jl MWE aa = 1:10 bb = 10 .\* rand(10) cc = 10 .\* rand(10) dd = 10 .\* rand(10) ee = 10 .\* rand(10) ff = 10 .\* r…

---

## [How to plot specific DataFrame points?](https://discourse.julialang.org/t/how-to-plot-specific-dataframe-points/44922)

<div class="topic-metadata">

**Author:** [@HelgavonLichtenstein](https://discourse.julialang.org/u/HelgavonLichtenstein)\
**Replies:** 3\
**Last updated:** [August 14, 2020, 12:07pm UTC](https://discourse.julialang.org/t/how-to-plot-specific-dataframe-points/44922 "2020-08-14T12:07:45Z")

</div>

In the end I want to create a scatter plot with a specific value from columns bb:ff against their corresponding value in column gg. In my case, I have a DataFrame which I pull final simulation values out of into a new Da…

---

## [Log scale axis issue with PyPlot (and how to manually fix it)](https://discourse.julialang.org/t/log-scale-axis-issue-with-pyplot-and-how-to-manually-fix-it/44927)

<div class="topic-metadata">

**Author:** [@nicolas](https://discourse.julialang.org/u/nicolas)\
**Replies:** 0\
**Last updated:** [August 14, 2020, 11:14am UTC](https://discourse.julialang.org/t/log-scale-axis-issue-with-pyplot-and-how-to-manually-fix-it/44927 "2020-08-14T11:14:25Z")

</div>

When I execute the following code using PyPlot (Julia 1.5.0 on Windows): using Plots pyplot() scatter(1:5, \[1, 1e-5,1e-10,1e-15,1e-20\], yaxis=:log) The y axis doesn’t show properly. But I have realized by clicking on ‘…

---

## [Plotting a Plane from a function using Makie](https://discourse.julialang.org/t/plotting-a-plane-from-a-function-using-makie/44675)

<div class="topic-metadata">

**Author:** [@fermion4](https://discourse.julialang.org/u/fermion4)\
**Replies:** 4\
**Last updated:** [August 14, 2020, 9:32am UTC](https://discourse.julialang.org/t/plotting-a-plane-from-a-function-using-makie/44675 "2020-08-14T09:32:19Z")

</div>

I just started using Makie to plot. Is it possible to plot a plane directly from a given function? Eg. I have the following function: y1(y2,y3) = -y2 -y3 - 1.0 I would like to give intervals for y2 and y3 and directly…

---

## [Loading a png file inside a package](https://discourse.julialang.org/t/loading-a-png-file-inside-a-package/44632)

<div class="topic-metadata">

**Author:** [@simonschoelly](https://discourse.julialang.org/u/simonschoelly)\
**Replies:** 1\
**Last updated:** [August 9, 2020, 5:53pm UTC](https://discourse.julialang.org/t/loading-a-png-file-inside-a-package/44632 "2020-08-09T17:53:45Z")

</div>

In one of my packages I want to load a png file using FileIO. When I try to do that, I get an error message: t.qpa.xcb: QXcbConnection: XCB error: 5 (BadAtom), sequence: 498, resource id: 0, major code: 20 (GetProperty)…

---

## [How can I plot violin plots at specific x-axis labels if my data is not in a dataframe?](https://discourse.julialang.org/t/how-can-i-plot-violin-plots-at-specific-x-axis-labels-if-my-data-is-not-in-a-dataframe/44544)

<div class="topic-metadata">

**Author:** [@pjentsch0](https://discourse.julialang.org/u/pjentsch0)\
**Replies:** 4\
**Last updated:** [August 8, 2020, 5:04pm UTC](https://discourse.julialang.org/t/how-can-i-plot-violin-plots-at-specific-x-axis-labels-if-my-data-is-not-in-a-dataframe/44544 "2020-08-08T17:04:55Z")

</div>

For instance, the following code makes this figure: julia\> d = Normal() julia\> a = rand(d,10,1000) julia\> violin(collect(eachrow(a)),legend = false) If I have a vector of 10 x-axis points, say x\_pts = 1:10:100, then t…

---

## [Geting the image pixel using ImageView](https://discourse.julialang.org/t/geting-the-image-pixel-using-imageview/44555)

<div class="topic-metadata">

**Author:** [@kobied](https://discourse.julialang.org/u/kobied)\
**Replies:** 4\
**Last updated:** [August 8, 2020, 6:59pm UTC](https://discourse.julialang.org/t/geting-the-image-pixel-using-imageview/44555 "2020-08-08T18:59:50Z")

</div>

Hello, I need to create a gui which has an image and some controllers. I’m using Gtk and ImageView, my quastion is, how can i get the image pixle that the mouse courser is clicked on? Thanks in ahead

---

## [Looking for ways to generalize using IndexedTables to Plot / Graph N-Dimensional data](https://discourse.julialang.org/t/looking-for-ways-to-generalize-using-indexedtables-to-plot-graph-n-dimensional-data/42266)

<div class="topic-metadata">

**Author:** [@Marc.Cox](https://discourse.julialang.org/u/Marc.Cox)\
**Replies:** 4\
**Last updated:** [August 7, 2020, 2:09am UTC](https://discourse.julialang.org/t/looking-for-ways-to-generalize-using-indexedtables-to-plot-graph-n-dimensional-data/42266 "2020-08-07T02:09:54Z")

</div>

Hi All, I’m looking for ways to generalize using IndexedTables to graph N-Dimensional data, but I’m stuck on how to collect the “for iter in eachindex(keys(tab\_t1.index.columns))”. In that regard, would you please see…

---

## [Mesh / GeometryBasics Rotate function](https://discourse.julialang.org/t/mesh-geometrybasics-rotate-function/44361)

<div class="topic-metadata">

**Author:** [@Allan\_Baker](https://discourse.julialang.org/u/Allan_Baker)\
**Replies:** 4\
**Last updated:** [August 7, 2020, 12:03am UTC](https://discourse.julialang.org/t/mesh-geometrybasics-rotate-function/44361 "2020-08-07T00:03:56Z")

</div>

I would have thought I could find this easier. I have loaded up and OBJ file with FileIO/MeshIO and am able to plot it in Makie with mesh. Is there a function already that will allow me to apply translations and rotati…

---

## [Axis ticks on top and right](https://discourse.julialang.org/t/axis-ticks-on-top-and-right/44416)

<div class="topic-metadata">

**Author:** [@SymKo](https://discourse.julialang.org/u/SymKo)\
**Replies:** 1\
**Last updated:** [August 6, 2020, 12:44pm UTC](https://discourse.julialang.org/t/axis-ticks-on-top-and-right/44416 "2020-08-06T12:44:21Z")

</div>

Hello, how to create axis xticks and yticks on top and right, the same like left and bottom with logarythmic scale? I don’t want to create second axis and define it. I’m using Plots.jl. When I’m using framestyle=:box, I…

---

## [Plotting range of columns](https://discourse.julialang.org/t/plotting-range-of-columns/43959)

<div class="topic-metadata">

**Author:** [@HelgavonLichtenstein](https://discourse.julialang.org/u/HelgavonLichtenstein)\
**Replies:** 1\
**Last updated:** [August 6, 2020, 11:10am UTC](https://discourse.julialang.org/t/plotting-range-of-columns/43959 "2020-08-06T11:10:41Z")

</div>

Hello, when I use the example from GitHub - JuliaPlots/StatsPlots.jl: Statistical plotting recipes for Plots.jl using DataFrames, StatsPlots df = DataFrame(a = 1:10, b = 10 .\* rand(10), c = 10 .\* rand(10)) @df df plot(:…

---

## [Adding legend label to contour plot](https://discourse.julialang.org/t/adding-legend-label-to-contour-plot/44280)

<div class="topic-metadata">

**Author:** [@gideonsimpson](https://discourse.julialang.org/u/gideonsimpson)\
**Replies:** 0\
**Last updated:** [August 4, 2020, 6:49pm UTC](https://discourse.julialang.org/t/adding-legend-label-to-contour-plot/44280 "2020-08-04T18:49:22Z")

</div>

I’m using contour to plot a level set with the command: contour(-3:0.01:3, -3:0.01:3, (x,y) -\> max(abs(x-y), abs(x), abs(y)), levels=\[2.0\], colorbar=false, color = cgrad(\[:blue,:blue\]),lw=2) and I’d like to a leg…

[Previous page](https://discourse.julialang.org/c/domain/viz/17.md?page=74)

[Next page](https://discourse.julialang.org/c/domain/viz/17.md?page=76)
