# Visualization

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

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

**Page:** 47

---

## [Yticks on Makie plots get on top of the legend box](https://discourse.julialang.org/t/yticks-on-makie-plots-get-on-top-of-the-legend-box/84633)

<div class="topic-metadata">

**Author:** [@RayleighLord](https://discourse.julialang.org/u/RayleighLord)\
**Replies:** 5\
**Last updated:** [July 22, 2022, 7:42pm UTC](https://discourse.julialang.org/t/yticks-on-makie-plots-get-on-top-of-the-legend-box/84633 "2022-07-22T19:42:54Z")

</div>

Hello, Using a customized set of attributes for my plots, I found that the yticks can appear on top of a legend box. For me, this behaviour is highly undesirable but I have not found a way to make the legend box appear …

---

## [Share colormap for Plotly Stacked Heatmaps](https://discourse.julialang.org/t/share-colormap-for-plotly-stacked-heatmaps/84547)

<div class="topic-metadata">

**Author:** [@KaiserDan37](https://discourse.julialang.org/u/KaiserDan37)\
**Replies:** 2\
**Last updated:** [July 21, 2022, 1:39pm UTC](https://discourse.julialang.org/t/share-colormap-for-plotly-stacked-heatmaps/84547 "2022-07-21T13:39:21Z")

</div>

Hello everyone, I am creating a faceted plot using the Plotly backend and and having trouble with stacking subplots of heatmaps. Specifically, the colorbars appear to overlap and I would prefer if they shared a single c…

---

## [Drawing an ellipsoid to visualize a tensor](https://discourse.julialang.org/t/drawing-an-ellipsoid-to-visualize-a-tensor/31286)

<div class="topic-metadata">

**Author:** [@KirillGerke](https://discourse.julialang.org/u/KirillGerke)\
**Replies:** 10\
**Last updated:** [July 19, 2022, 10:33pm UTC](https://discourse.julialang.org/t/drawing-an-ellipsoid-to-visualize-a-tensor/31286 "2022-07-19T22:33:54Z")

</div>

Dear All, I am struggling with some problem in writing my code in Julia and, thus, ask for your assistance… What i want to do: visualize a tensor (3x3 matrix) as ellipsoid Problem: 1) not sure about which graphical fr…

---

## [Is it possible to make scrollable window in GLMakie](https://discourse.julialang.org/t/is-it-possible-to-make-scrollable-window-in-glmakie/84450)

<div class="topic-metadata">

**Author:** [@Thomberger](https://discourse.julialang.org/u/Thomberger)\
**Replies:** 1\
**Last updated:** [July 19, 2022, 2:25pm UTC](https://discourse.julialang.org/t/is-it-possible-to-make-scrollable-window-in-glmakie/84450 "2022-07-19T14:25:52Z")

</div>

Is it possible to create a window longer than the screen height and make it scrollable, either using sliders, keyboard down arrow, or any other solution ?

---

## [ERROR: MethodError: no method matching expand\_extrema!(::Plots.Axis, ::Vector{Matrix{Float64}})](https://discourse.julialang.org/t/error-methoderror-no-method-matching-expand-extrema-plots-axis-vector-matrix-float64/84459)

<div class="topic-metadata">

**Author:** [@Hupdup](https://discourse.julialang.org/u/Hupdup)\
**Replies:** 2\
**Last updated:** [July 19, 2022, 1:59pm UTC](https://discourse.julialang.org/t/error-methoderror-no-method-matching-expand-extrema-plots-axis-vector-matrix-float64/84459 "2022-07-19T13:59:51Z")

</div>

Hi, I want to plot a confidence interval, but unfourtunaly I am not able to do it. I got the following error message: ERROR: MethodError: no method matching expand\_extrema!(::Plots.Axis, ::Vector{Matrix{Float64}}) The…

---

## [How to highlight the area between four lines in julia Plots.jl](https://discourse.julialang.org/t/how-to-highlight-the-area-between-four-lines-in-julia-plots-jl/84433)

<div class="topic-metadata">

**Author:** [@Alex\_ricci](https://discourse.julialang.org/u/Alex_ricci)\
**Replies:** 2\
**Last updated:** [July 19, 2022, 5:41am UTC](https://discourse.julialang.org/t/how-to-highlight-the-area-between-four-lines-in-julia-plots-jl/84433 "2022-07-19T05:41:16Z")

</div>

I want to visualize a simple optimization problem. The problem is: min 3x + 2y s.t. -3x + 3y \<= 5 2x + 3y \>= 9 x, y \>= 0 How it is possible to highlight the feasible region in this problem. In other words, I want …

---

## [How to set ticklabels for an image, within the range of x, and y](https://discourse.julialang.org/t/how-to-set-ticklabels-for-an-image-within-the-range-of-x-and-y/63637)

<div class="topic-metadata">

**Author:** [@empet](https://discourse.julialang.org/u/empet)\
**Replies:** 5\
**Last updated:** [July 15, 2022, 6:31am UTC](https://discourse.julialang.org/t/how-to-set-ticklabels-for-an-image-within-the-range-of-x-and-y/63637 "2022-07-15T06:31:41Z")

</div>

I searched this forum and the web for the Julia equivalent of extent in matplotlib.pyplot.imshow: plt.imshow(M, origin="lower", extent=\[a, b, c, d\]) but I couldn’t find any reference. I need this feature for plotting c…

---

## [Create Groupedbar in Statsplot from Dataframe with dates on the x-axis](https://discourse.julialang.org/t/create-groupedbar-in-statsplot-from-dataframe-with-dates-on-the-x-axis/84108)

<div class="topic-metadata">

**Author:** [@Freya\_the\_Goddess](https://discourse.julialang.org/u/Freya_the_Goddess)\
**Replies:** 12\
**Last updated:** [July 14, 2022, 2:09pm UTC](https://discourse.julialang.org/t/create-groupedbar-in-statsplot-from-dataframe-with-dates-on-the-x-axis/84108 "2022-07-14T14:09:04Z")

</div>

Hi all, I want to plot this csv: To become a groupedbar like this: With dates on the x-axis (do I need to change the format in the csv of 01.2015 / 02.2015?) I want to plot an entire column (e.g. Solar) and plo…

---

## [Uneven grid layout in Makie.jl](https://discourse.julialang.org/t/uneven-grid-layout-in-makie-jl/84208)

<div class="topic-metadata">

**Author:** [@Kevin\_Kleinbeck](https://discourse.julialang.org/u/Kevin_Kleinbeck)\
**Replies:** 1\
**Last updated:** [July 14, 2022, 7:43am UTC](https://discourse.julialang.org/t/uneven-grid-layout-in-makie-jl/84208 "2022-07-14T07:43:41Z")

</div>

Hello everyone, I try to great a two row figure in Makie, where the first row contains 3 Axis elements and the second row only two and the plot legend. Sadly, I cannot figure out the logic behind Makie’s layout algorit…

---

## [Arrow in Plots.jl and PyPlot backend can't change arrowhead placement](https://discourse.julialang.org/t/arrow-in-plots-jl-and-pyplot-backend-cant-change-arrowhead-placement/45511)

<div class="topic-metadata">

**Author:** [@transarcus](https://discourse.julialang.org/u/transarcus)\
**Replies:** 1\
**Last updated:** [July 13, 2022, 6:19pm UTC](https://discourse.julialang.org/t/arrow-in-plots-jl-and-pyplot-backend-cant-change-arrowhead-placement/45511 "2022-07-13T18:19:42Z")

</div>

Trying to create double headed arrow using pyplot though Plots.jl but arrow(:closed,:both) doesn’t do it. arrow(:closed,:tail) also doesn’t seem to change anything. It works as I would expect with the GR backend. Julia …

---

## [Can existing packages for image registration align huge images, e.g. Hubble with the new James Webb images (150 MP)?](https://discourse.julialang.org/t/can-existing-packages-for-image-registration-align-huge-images-e-g-hubble-with-the-new-james-webb-images-150-mp/84118)

<div class="topic-metadata">

**Author:** [@NiclasMattsson](https://discourse.julialang.org/u/NiclasMattsson)\
**Replies:** 3\
**Last updated:** [July 12, 2022, 10:25pm UTC](https://discourse.julialang.org/t/can-existing-packages-for-image-registration-align-huge-images-e-g-hubble-with-the-new-james-webb-images-150-mp/84118 "2022-07-12T22:25:43Z")

</div>

Like many others I’m drooling over the new images from the JWST, e.g. this one: https://webbtelescope.org/contents/media/images/2022/034/01G7DA5ADA2WDSK1JJPQ0PTG4A So I thought it would be fun to try to align it with o…

---

## [Error message when using AoG/Makie with "yscale=log10", for my particular data](https://discourse.julialang.org/t/error-message-when-using-aog-makie-with-yscale-log10-for-my-particular-data/82206)

<div class="topic-metadata">

**Author:** [@martinmestre](https://discourse.julialang.org/u/martinmestre)\
**Replies:** 14\
**Last updated:** [July 12, 2022, 7:43pm UTC](https://discourse.julialang.org/t/error-message-when-using-aog-makie-with-yscale-log10-for-my-particular-data/82206 "2022-07-12T19:43:16Z")

</div>

Hello all, when running the following piece of code, I obtain an error. I have found out that it is due to the fact of using yscale=log10. If I use yscale=log there is no problem. In the x coordinate I have no problem. …

---

## [Plotting marks with more one character in Gaston](https://discourse.julialang.org/t/plotting-marks-with-more-one-character-in-gaston/84107)

<div class="topic-metadata">

**Author:** [@angeloaliano1](https://discourse.julialang.org/u/angeloaliano1)\
**Replies:** 3\
**Last updated:** [July 12, 2022, 3:22pm UTC](https://discourse.julialang.org/t/plotting-marks-with-more-one-character-in-gaston/84107 "2022-07-12T15:22:13Z")

</div>

Dear all, I have the following code to plot several points and marks beside it: using Gaston n=15 L=rand(1:100,n,2) L=\[L 1:n\] scatter(\[L\[1,1\]\], \[L\[1,2\]\],linewidth="3", pointtype="fsquare", plotstyle="linespoints",line…

---

## [Jmathplot via JavaCall.jl](https://discourse.julialang.org/t/jmathplot-via-javacall-jl/69686)

<div class="topic-metadata">

**Author:** [@Bardo](https://discourse.julialang.org/u/Bardo)\
**Replies:** 3\
**Last updated:** [October 13, 2021, 8:37pm UTC](https://discourse.julialang.org/t/jmathplot-via-javacall-jl/69686 "2021-10-13T20:37:57Z")

</div>

Hi, would be glad if someone could give a hand with the example from https://github.com/yannrichet/jmathplot. jmathplot.jar is in https://github.com/yannrichet/jmathplot/tree/master/dist Got lost in the calling synta…

---

## [Error: Point2f and Point3f not defined](https://discourse.julialang.org/t/error-point2f-and-point3f-not-defined/83920)

<div class="topic-metadata">

**Author:** [@evandro.schulz](https://discourse.julialang.org/u/evandro.schulz)\
**Replies:** 5\
**Last updated:** [July 11, 2022, 2:16pm UTC](https://discourse.julialang.org/t/error-point2f-and-point3f-not-defined/83920 "2022-07-11T14:16:39Z")

</div>

Hi, I’m trying to use a code that I found in the community. But I cannot run because a error: return (Point3f.(xyzos), Float32.(weights)) ERROR: UndefVarError: Point3f not defined How I can solve one? Mu Julia Version…

---

## [GLMakie.mesh - how to rotate view](https://discourse.julialang.org/t/glmakie-mesh-how-to-rotate-view/83993)

<div class="topic-metadata">

**Author:** [@trashspam7](https://discourse.julialang.org/u/trashspam7)\
**Replies:** 0\
**Last updated:** [July 9, 2022, 4:23pm UTC](https://discourse.julialang.org/t/glmakie-mesh-how-to-rotate-view/83993 "2022-07-09T16:23:19Z")

</div>

How do I rotate the view for GLMakie.mesh? Specifically, I want to have the x- and y-axes increasing going away from the camera, not towards. I saw in the documentation that there is an attribute model::Makie.Mat4f but …

---

## [Simplex heatmap](https://discourse.julialang.org/t/simplex-heatmap/83640)

<div class="topic-metadata">

**Author:** [@bryce](https://discourse.julialang.org/u/bryce)\
**Replies:** 15\
**Last updated:** [July 8, 2022, 11:51pm UTC](https://discourse.julialang.org/t/simplex-heatmap/83640 "2022-07-08T23:51:13Z")

</div>

I’m trying to generate a heatmap to visualize the output of a function evaluated on a grid of points over the unit 2-simplex. Here’s an example of the sort of data I’m working with: using Plots, Combinatorics, StatsBase…

---

## [Quiver plot arrowhead sizing](https://discourse.julialang.org/t/quiver-plot-arrowhead-sizing/81789)

<div class="topic-metadata">

**Author:** [@FMacLellan](https://discourse.julialang.org/u/FMacLellan)\
**Replies:** 4\
**Last updated:** [July 6, 2022, 1:39pm UTC](https://discourse.julialang.org/t/quiver-plot-arrowhead-sizing/81789 "2022-07-06T13:39:57Z")

</div>

Hi, I am working on an image analysis tool for particle image velocimetry and one of the outputs will be a vector field. I can produce the vector field easily enough, but the components of each vector are very small due…

---

## [Makie - What are the available line styles?](https://discourse.julialang.org/t/makie-what-are-the-available-line-styles/63553)

<div class="topic-metadata">

**Author:** [@Kolaru](https://discourse.julialang.org/u/Kolaru)\
**Replies:** 4\
**Last updated:** [July 6, 2022, 5:26am UTC](https://discourse.julialang.org/t/makie-what-are-the-available-line-styles/63553 "2022-07-06T05:26:32Z")

</div>

Looking at the documentation I can not found what are the available line styles for plotting lines. I only found :dashed in one example. Having a list somewhere or, if it already exists and I missed it, a link to it in …

---

## [Issues with abm visualization](https://discourse.julialang.org/t/issues-with-abm-visualization/83739)

<div class="topic-metadata">

**Author:** [@Fatima](https://discourse.julialang.org/u/Fatima)\
**Replies:** 5\
**Last updated:** [July 5, 2022, 9:07am UTC](https://discourse.julialang.org/t/issues-with-abm-visualization/83739 "2022-07-05T09:07:23Z")

</div>

Hi, I’m trying to visualize my agents moving, however, I keep running into this error: MethodError: Cannot convert an object of type Tuple{Int64} to an object of type GeometryBasics.OffsetInteger{-1, UInt32} The image…

---

## [Trouble making topographical EEG interpolation](https://discourse.julialang.org/t/trouble-making-topographical-eeg-interpolation/35733)

<div class="topic-metadata">

**Author:** [@ElectronicTeaCup](https://discourse.julialang.org/u/ElectronicTeaCup)\
**Replies:** 18\
**Last updated:** [July 5, 2022, 5:55am UTC](https://discourse.julialang.org/t/trouble-making-topographical-eeg-interpolation/35733 "2022-07-05T05:55:46Z")

</div>

Hi everyone. I’m trying to make an EEG topographical plot, something like this: The steps, in general are (without the aesthetics and circular appearance): Turn polar coordinates to Cartesian coordinates Interpolate…

---

## [LaTeX fonts render different for different backends](https://discourse.julialang.org/t/latex-fonts-render-different-for-different-backends/83718)

<div class="topic-metadata">

**Author:** [@leonandonayre](https://discourse.julialang.org/u/leonandonayre)\
**Replies:** 2\
**Last updated:** [July 5, 2022, 3:02am UTC](https://discourse.julialang.org/t/latex-fonts-render-different-for-different-backends/83718 "2022-07-05T03:02:41Z")

</div>

I would like to use PyPlot backend (because there are some issue with GR backend), however I noticed LaTeX fonts render different and I do not know how to change it. Here is a sample code for the GR backend. using LaTe…

---

## [Retain editable text on saving to PDF, Plots-GR](https://discourse.julialang.org/t/retain-editable-text-on-saving-to-pdf-plots-gr/83609)

<div class="topic-metadata">

**Author:** [@iabraham](https://discourse.julialang.org/u/iabraham)\
**Replies:** 4\
**Last updated:** [July 4, 2022, 11:15am UTC](https://discourse.julialang.org/t/retain-editable-text-on-saving-to-pdf-plots-gr/83609 "2022-07-04T11:15:59Z")

</div>

This was already posted here and I am not sure if cross posting is allowed, but this community seems much more active. I am trying to save some figures I made in Julia (Plots package, GR backend) to PDFs and I love the…

---

## [How do I annotate datapoints](https://discourse.julialang.org/t/how-do-i-annotate-datapoints/83709)

<div class="topic-metadata">

**Author:** [@Chiem](https://discourse.julialang.org/u/Chiem)\
**Replies:** 3\
**Last updated:** [July 3, 2022, 7:05pm UTC](https://discourse.julialang.org/t/how-do-i-annotate-datapoints/83709 "2022-07-03T19:05:51Z")

</div>

Hello everyone, I have been using the Makie.jl package (more specifically CairoMakie) for the creation of figures for the project I am working on. I am currently creating a scatterplot and would like to annotate my datap…

---

## [Plotting matrix (heatmap/pcolor/imshow) with log scales](https://discourse.julialang.org/t/plotting-matrix-heatmap-pcolor-imshow-with-log-scales/26685)

<div class="topic-metadata">

**Author:** [@dapz](https://discourse.julialang.org/u/dapz)\
**Replies:** 11\
**Last updated:** [July 3, 2022, 5:32pm UTC](https://discourse.julialang.org/t/plotting-matrix-heatmap-pcolor-imshow-with-log-scales/26685 "2022-07-03T17:32:59Z")

</div>

Hi, I’m struggling with plotting a simple matrix with log-scales for x, y and/or color-axis. Consider e.g. a random 5\*5 matrix a, with associated values for x and y axis (these values are always regularly spaced, either…

---

## [Image Processing](https://discourse.julialang.org/t/image-processing/83685)

<div class="topic-metadata">

**Author:** [@Kampuny11](https://discourse.julialang.org/u/Kampuny11)\
**Replies:** 2\
**Last updated:** [July 3, 2022, 2:19pm UTC](https://discourse.julialang.org/t/image-processing/83685 "2022-07-03T14:19:23Z")

</div>

Hi! I having the problem to view an 3D Image. Consider the image array as: Image\[:, :, 1\] = 0.0031054 0.00385944 0.00372917 0.000612832 0.0020886 0.000983508 0.000783196 0.000259077 …

---

## [CairoMakie: any way to save 3D plot in vector format (.svg, .eps)?](https://discourse.julialang.org/t/cairomakie-any-way-to-save-3d-plot-in-vector-format-svg-eps/83122)

<div class="topic-metadata">

**Author:** [@mihai](https://discourse.julialang.org/u/mihai)\
**Replies:** 12\
**Last updated:** [July 1, 2022, 6:08am UTC](https://discourse.julialang.org/t/cairomakie-any-way-to-save-3d-plot-in-vector-format-svg-eps/83122 "2022-07-01T06:08:14Z")

</div>

Hi, so far I’ve used CairoMakie for 2D plots (exporting to .svg) while using GLMakie for 3D plots (for interactivity & exporting to .png). Is there any way to use CairoMakie with a 3D plot and export it to .svg? Speed do…

---

## [Remove duplicate legend entries in PlotlyJS combined bar plot](https://discourse.julialang.org/t/remove-duplicate-legend-entries-in-plotlyjs-combined-bar-plot/83502)

<div class="topic-metadata">

**Author:** [@Mario\_Silva](https://discourse.julialang.org/u/Mario_Silva)\
**Replies:** 4\
**Last updated:** [July 1, 2022, 3:00am UTC](https://discourse.julialang.org/t/remove-duplicate-legend-entries-in-plotlyjs-combined-bar-plot/83502 "2022-07-01T03:00:34Z")

</div>

Greetings: I am vertically stacking two bar plots from PlotlyJS, which can be interpreted as a historical decomposition of output and the Solow residual over the business cycle into various shocks. The problem is that d…

---

## [Unable to plot from the REPL with PyPlot](https://discourse.julialang.org/t/unable-to-plot-from-the-repl-with-pyplot/3112)

<div class="topic-metadata">

**Author:** [@adriano.vilela](https://discourse.julialang.org/u/adriano.vilela)\
**Replies:** 15\
**Last updated:** [June 30, 2022, 4:06pm UTC](https://discourse.julialang.org/t/unable-to-plot-from-the-repl-with-pyplot/3112 "2022-06-30T16:06:57Z")

</div>

I recently decided to try Julia 0.6. I installed a Generic Linux binary (nightly build) on my machine. For plotting, I installed PyPlot, using my system’s installation of matplotlib (i.e., not Conda). Plotting works fine…

---

## [Create an image from matrix](https://discourse.julialang.org/t/create-an-image-from-matrix/83523)

<div class="topic-metadata">

**Author:** [@extremety1989](https://discourse.julialang.org/u/extremety1989)\
**Replies:** 4\
**Last updated:** [June 29, 2022, 4:51pm UTC](https://discourse.julialang.org/t/create-an-image-from-matrix/83523 "2022-06-29T16:51:44Z")

</div>

i am using gans to generate an image, it ouputs an array of size (256,256,3,1) “WHCB” how can build an image out of it ? here is an example what i tried, i think i need to remove dim ( channels and batch): function cre…

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

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