# Visualization

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

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

**Page:** 37

---

## [AoG free scale facet](https://discourse.julialang.org/t/aog-free-scale-facet/94858)

<div class="topic-metadata">

**Author:** [@aelmokadem](https://discourse.julialang.org/u/aelmokadem)\
**Replies:** 2\
**Last updated:** [February 19, 2023, 2:06pm UTC](https://discourse.julialang.org/t/aog-free-scale-facet/94858 "2023-02-19T14:06:08Z")

</div>

Hi, I am trying to facet a AoG plot using layout and wanted to set the scales free for the facetted plot similar to ggplot2 scales = "free" option. Any thoughts?! Thanks, Ahmed.

---

## [How to control legend position with PGFPlotsX (move legend outside of axis)](https://discourse.julialang.org/t/how-to-control-legend-position-with-pgfplotsx-move-legend-outside-of-axis/94832)

<div class="topic-metadata">

**Author:** [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Replies:** 2\
**Last updated:** [February 18, 2023, 3:48pm UTC](https://discourse.julialang.org/t/how-to-control-legend-position-with-pgfplotsx-move-legend-outside-of-axis/94832 "2023-02-18T15:48:35Z")

</div>

I was advised to not “hijack” a thread, whatever that means, so making one more post. Using PGFPlotsX, there is a field entry, legend\_pos, which allows for moving the legend inside of the axis. How can I move the legen…

---

## [How to control legend position with PGFPlotsX](https://discourse.julialang.org/t/how-to-control-legend-position-with-pgfplotsx/14018)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 10\
**Last updated:** [February 18, 2023, 11:53am UTC](https://discourse.julialang.org/t/how-to-control-legend-position-with-pgfplotsx/14018 "2023-02-18T11:53:18Z")

</div>

If I do @pgf p = Axis({ xlabel = "Distance \[m\]", ylabel = "Temperature \[degree Kelvin\]", title = "", legend = "pos south east" }, …

---

## [How do I change font and font size in PGFPlotsX?](https://discourse.julialang.org/t/how-do-i-change-font-and-font-size-in-pgfplotsx/94830)

<div class="topic-metadata">

**Author:** [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Replies:** 0\
**Last updated:** [February 18, 2023, 11:21am UTC](https://discourse.julialang.org/t/how-do-i-change-font-and-font-size-in-pgfplotsx/94830 "2023-02-18T11:21:12Z")

</div>

Hello! I am trying to change the font size in this example: x = range(0; stop =2\*pi, length = 100) @pgf GroupPlot( { group\_style = { group\_size="2 by 1", xticklabels\_at="edge…

---

## [How do I add a group title to PGFPlotsX?](https://discourse.julialang.org/t/how-do-i-add-a-group-title-to-pgfplotsx/94828)

<div class="topic-metadata">

**Author:** [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Replies:** 0\
**Last updated:** [February 18, 2023, 10:41am UTC](https://discourse.julialang.org/t/how-do-i-add-a-group-title-to-pgfplotsx/94828 "2023-02-18T10:41:16Z")

</div>

Hello! Suppose I have the code from the doc, https://kristofferc.github.io/PGFPlotsX.jl/stable/examples/axislike/: x = range(0; stop =2\*pi, length = 100) @pgf GroupPlot( { group\_style = { …

---

## [How to set axis limits in 3D plots](https://discourse.julialang.org/t/how-to-set-axis-limits-in-3d-plots/94813)

<div class="topic-metadata">

**Author:** [@math\_opt](https://discourse.julialang.org/u/math_opt)\
**Replies:** 1\
**Last updated:** [February 18, 2023, 5:45am UTC](https://discourse.julialang.org/t/how-to-set-axis-limits-in-3d-plots/94813 "2023-02-18T05:45:45Z")

</div>

For the code below, how do I set the axis limits to be same for all axes: using CairoMakie temp = \[15 21 18 17; 15 12 11 18; 20 20 20 22\] fig, axis, plot = scatter(temp\[1,:\], temp\[2,:\], temp\[3,:\]) xlabel!(axis.scene, "d…

---

## [Makie markercolor magic](https://discourse.julialang.org/t/makie-markercolor-magic/94760)

<div class="topic-metadata">

**Author:** [@dfarmer](https://discourse.julialang.org/u/dfarmer)\
**Replies:** 1\
**Last updated:** [February 17, 2023, 3:50pm UTC](https://discourse.julialang.org/t/makie-markercolor-magic/94760 "2023-02-17T15:50:00Z")

</div>

I’m fishing a little here, but yesterday I loaded up a bunch of data in a StructArray and made a scatterline plot scatterlines(field1, markercolor = field2) and it worked and I couldn’t believe how awesome everything was…

---

## [Theming coloured boxplots in Makie](https://discourse.julialang.org/t/theming-coloured-boxplots-in-makie/94552)

<div class="topic-metadata">

**Author:** [@jewh](https://discourse.julialang.org/u/jewh)\
**Replies:** 8\
**Last updated:** [February 16, 2023, 2:27pm UTC](https://discourse.julialang.org/t/theming-coloured-boxplots-in-makie/94552 "2023-02-16T14:27:49Z")

</div>

Can someone explain to me how to theme a Makie boxplot such that I can colour boxes by specific conditions or ‘groups’, and also control the colour palette for this via a custom theme? I can alter colour palette via the…

---

## [Makie text with variable styling](https://discourse.julialang.org/t/makie-text-with-variable-styling/81666)

<div class="topic-metadata">

**Author:** [@kevbonham](https://discourse.julialang.org/u/kevbonham)\
**Replies:** 13\
**Last updated:** [February 16, 2023, 6:54am UTC](https://discourse.julialang.org/t/makie-text-with-variable-styling/81666 "2023-02-16T06:54:59Z")

</div>

I’m often plotting things where I need the labels to have some styling. Particularly species names that need to be in italics, eg a y-label that’s something like “Relative abundance of E. coli” There are easy ways to s…

---

## [Start GLMakie visualization in previous position with previous size](https://discourse.julialang.org/t/start-glmakie-visualization-in-previous-position-with-previous-size/94132)

<div class="topic-metadata">

**Author:** [@filchristou](https://discourse.julialang.org/u/filchristou)\
**Replies:** 12\
**Last updated:** [February 15, 2023, 6:20pm UTC](https://discourse.julialang.org/t/start-glmakie-visualization-in-previous-position-with-previous-size/94132 "2023-02-15T18:20:32Z")

</div>

Is there a way to control where will GLMakie position the freshly invoked visualization in my system ? Currently I am running Debian 11 and whenever I invoke GLMakie the visualization appears behind the current REPL ter…

---

## [GLMakie: Change attributes in existing Screen objects](https://discourse.julialang.org/t/glmakie-change-attributes-in-existing-screen-objects/94636)

<div class="topic-metadata">

**Author:** [@ellocco](https://discourse.julialang.org/u/ellocco)\
**Replies:** 5\
**Last updated:** [February 15, 2023, 10:48am UTC](https://discourse.julialang.org/t/glmakie-change-attributes-in-existing-screen-objects/94636 "2023-02-15T10:48:35Z")

</div>

I would like to change line attributes inside an already displayed GLMakie screen object. Below a simple example, unfortunately only the edge of the button changes. Are there any ideas. The purpose is: I would like to…

---

## [Makie: how to improve plotting performance with thousands of 3D objects](https://discourse.julialang.org/t/makie-how-to-improve-plotting-performance-with-thousands-of-3d-objects/85863)

<div class="topic-metadata">

**Author:** [@peremato](https://discourse.julialang.org/u/peremato)\
**Replies:** 7\
**Last updated:** [February 15, 2023, 8:58am UTC](https://discourse.julialang.org/t/makie-how-to-improve-plotting-performance-with-thousands-of-3d-objects/85863 "2023-02-15T08:58:15Z")

</div>

I need to plot several thousands of quite simple 3D objects (boxes, cylinders, …) and for this I do create a mesh for each one implementing GeometryBasics.coordinates(...) and GeometryBasics.faces(...). Then I plot them …

---

## [Makie | How to set position of displayed image on the screen?](https://discourse.julialang.org/t/makie-how-to-set-position-of-displayed-image-on-the-screen/94585)

<div class="topic-metadata">

**Author:** [@Audrius-St](https://discourse.julialang.org/u/Audrius-St)\
**Replies:** 2\
**Last updated:** [February 14, 2023, 8:46pm UTC](https://discourse.julialang.org/t/makie-how-to-set-position-of-displayed-image-on-the-screen/94585 "2023-02-14T20:46:05Z")

</div>

f = Figure(resolution = (1000,700)) specifies the size of the displayed image on the screen in pixel coordinates, but how does one set the position of the displayed image on the screen again in pixel coordinates. It’s…

---

## [How to create surface plot in CairoMakie where the sides are 'filled'?](https://discourse.julialang.org/t/how-to-create-surface-plot-in-cairomakie-where-the-sides-are-filled/94454)

<div class="topic-metadata">

**Author:** [@yhchang96](https://discourse.julialang.org/u/yhchang96)\
**Replies:** 6\
**Last updated:** [February 13, 2023, 10:12pm UTC](https://discourse.julialang.org/t/how-to-create-surface-plot-in-cairomakie-where-the-sides-are-filled/94454 "2023-02-13T22:12:36Z")

</div>

I can make a surface plot with the following codes: x = range(-1, 1, length=129) y = range(-1, 1, length=129) R = x'.^2 .+ y.^2 h2d = cos.(R) update\_theme!( lightposition = Vec3f(50, 10, 0), Axis3 = ( e…

---

## [GLMakie: Reset all sliders inside SliderGrid via Button](https://discourse.julialang.org/t/glmakie-reset-all-sliders-inside-slidergrid-via-button/94555)

<div class="topic-metadata">

**Author:** [@ellocco](https://discourse.julialang.org/u/ellocco)\
**Replies:** 0\
**Last updated:** [February 13, 2023, 12:35pm UTC](https://discourse.julialang.org/t/glmakie-reset-all-sliders-inside-slidergrid-via-button/94555 "2023-02-13T12:35:45Z")

</div>

I wonder, if something exist like “Mouse.DoubleClick” on SliderGrid? The code below does what it should do, but it uses a for-loop over the SliderGrid. using GLMakie fig = Figure() # --- figure set-up: two panes side …

---

## [Makie app from command line](https://discourse.julialang.org/t/makie-app-from-command-line/53890)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 12\
**Last updated:** [February 11, 2023, 9:29pm UTC](https://discourse.julialang.org/t/makie-app-from-command-line/53890 "2023-02-11T21:29:30Z")

</div>

How can I launch a Makie.jl based app from the command line? I tried: julia --project -e "include(\\"./src/KiteViewer.jl\\");main()" which shortly shows the Makie windows but then terminates. How can I achieve that it …

---

## [Plot multiple similar CSVs with AoG](https://discourse.julialang.org/t/plot-multiple-similar-csvs-with-aog/94279)

<div class="topic-metadata">

**Author:** [@Nathan\_Boyer](https://discourse.julialang.org/u/Nathan_Boyer)\
**Replies:** 12\
**Last updated:** [February 9, 2023, 3:23pm UTC](https://discourse.julialang.org/t/plot-multiple-similar-csvs-with-aog/94279 "2023-02-09T15:23:25Z")

</div>

I am loading multiple CSV files and want to plot them on top of each other, but I can’t figure out an easy way to change the line color and style to identify them in a legend. df1 = DataFrame("X Data" =\> 1:3, "Unused Da…

---

## [Makie: Equally spaced ticks](https://discourse.julialang.org/t/makie-equally-spaced-ticks/94308)

<div class="topic-metadata">

**Author:** [@ellocco](https://discourse.julialang.org/u/ellocco)\
**Replies:** 2\
**Last updated:** [February 9, 2023, 9:21am UTC](https://discourse.julialang.org/t/makie-equally-spaced-ticks/94308 "2023-02-09T09:21:11Z")

</div>

I can force the axis to be equally scaled via: ax = Axis(fig\[1, 1\], aspect=DataAspect()) But have not yet figured out, if there is an elegant way to have also equally spaced ticks on both axis. In plotly /PlotlyJS I c…

---

## [How to plot the orientation of particles?](https://discourse.julialang.org/t/how-to-plot-the-orientation-of-particles/94262)

<div class="topic-metadata">

**Author:** [@Jyoti\_Sharma](https://discourse.julialang.org/u/Jyoti_Sharma)\
**Replies:** 10\
**Last updated:** [February 9, 2023, 8:47am UTC](https://discourse.julialang.org/t/how-to-plot-the-orientation-of-particles/94262 "2023-02-09T08:47:53Z")

</div>

Dear all, I am trying to plot the orientation of 2D Brownian particles. I have the x and y positions and the orientation of each particle. Given this, I have successfully plotted the x and y positions of the particles, …

---

## [GLMakie: figure does not change](https://discourse.julialang.org/t/glmakie-figure-does-not-change/94277)

<div class="topic-metadata">

**Author:** [@ellocco](https://discourse.julialang.org/u/ellocco)\
**Replies:** 4\
**Last updated:** [February 8, 2023, 8:13pm UTC](https://discourse.julialang.org/t/glmakie-figure-does-not-change/94277 "2023-02-08T20:13:30Z")

</div>

Hi, I do not manage to make my fig interactive, below a simplified version of my initial script. Any idea what is missing? using GLMakie x\_ = 0:0.01:8π obs\_ = \[Observable(0.0) for s in 1:3\] function example\_func(\_x, …

---

## [Makie: how to make a vertical (rotated by 90deg) lines! plot](https://discourse.julialang.org/t/makie-how-to-make-a-vertical-rotated-by-90deg-lines-plot/94207)

<div class="topic-metadata">

**Author:** [@kaltsoplyn](https://discourse.julialang.org/u/kaltsoplyn)\
**Replies:** 3\
**Last updated:** [February 8, 2023, 5:45pm UTC](https://discourse.julialang.org/t/makie-how-to-make-a-vertical-rotated-by-90deg-lines-plot/94207 "2023-02-08T17:45:46Z")

</div>

I can’t figure out a reasonably simple answer to this, and I’d guess the must be one. I want to create a lines plot rotated 90 degrees. Like, everything rotated: axis, labels, curves, the whole thing. Here’s a minimum w…

---

## [Makie will not use \`texfont()\`](https://discourse.julialang.org/t/makie-will-not-use-texfont/94146)

<div class="topic-metadata">

**Author:** [@cmarcotte](https://discourse.julialang.org/u/cmarcotte)\
**Replies:** 4\
**Last updated:** [February 8, 2023, 12:34pm UTC](https://discourse.julialang.org/t/makie-will-not-use-texfont/94146 "2023-02-08T12:34:42Z")

</div>

I am having a strange problem with using LaTeX font for the axis and labels in Makie. In GLMakie@0.7.0, the classic method of setting font=texfont() works without issue. I can not get the axes and labels to use the same …

---

## [Latexify generating incorrect output with accented strings](https://discourse.julialang.org/t/latexify-generating-incorrect-output-with-accented-strings/94098)

<div class="topic-metadata">

**Author:** [@Whyborn](https://discourse.julialang.org/u/Whyborn)\
**Replies:** 5\
**Last updated:** [February 8, 2023, 1:06am UTC](https://discourse.julialang.org/t/latexify-generating-incorrect-output-with-accented-strings/94098 "2023-02-08T01:06:46Z")

</div>

Hi, Been hitting issues with Latexify-generated expressions when using accented characters. A simple example: using Symbolics, Latexify @variables x̄ ȳ z latexify(x̄ + ȳ + z) # Gives x\\bar + z + ȳ This is incorrect …

---

## [Yaxis log scale StipplePlotly](https://discourse.julialang.org/t/yaxis-log-scale-stippleplotly/94236)

<div class="topic-metadata">

**Author:** [@olive](https://discourse.julialang.org/u/olive)\
**Replies:** 0\
**Last updated:** [February 7, 2023, 9:38pm UTC](https://discourse.julialang.org/t/yaxis-log-scale-stippleplotly/94236 "2023-02-07T21:38:20Z")

</div>

I would like to display a plot with a y-axis in logarithmic scale but with this simple code is actually the x-axis which is render in logarithmic scale. Does anyone know a solution? using GenieFramework @genietools @o…

---

## [How do I move the slider from one time point to another and measure the time it takes to redraw an image?](https://discourse.julialang.org/t/how-do-i-move-the-slider-from-one-time-point-to-another-and-measure-the-time-it-takes-to-redraw-an-image/94232)

<div class="topic-metadata">

**Author:** [@vladdez](https://discourse.julialang.org/u/vladdez)\
**Replies:** 0\
**Last updated:** [February 7, 2023, 7:59pm UTC](https://discourse.julialang.org/t/how-do-i-move-the-slider-from-one-time-point-to-another-and-measure-the-time-it-takes-to-redraw-an-image/94232 "2023-02-07T19:59:54Z")

</div>

I would like to benchmark interactive topoplot. More specifically, measure the time between drawing topoplot with one time point on the slider and another. I tried several times, but failed. For now, I want it to at lea…

---

## [Named objects in .obj files](https://discourse.julialang.org/t/named-objects-in-obj-files/94185)

<div class="topic-metadata">

**Author:** [@airpmb](https://discourse.julialang.org/u/airpmb)\
**Replies:** 0\
**Last updated:** [February 7, 2023, 3:56am UTC](https://discourse.julialang.org/t/named-objects-in-obj-files/94185 "2023-02-07T03:56:26Z")

</div>

I have .obj format files exported from Blender, which include object names (o keyword). I’d like to retain the association between these object names and the geometry they refer to. As far as I can tell this isn’t curren…

---

## [How to display an array of UInt8 as a color image](https://discourse.julialang.org/t/how-to-display-an-array-of-uint8-as-a-color-image/93990)

<div class="topic-metadata">

**Author:** [@Tetane](https://discourse.julialang.org/u/Tetane)\
**Replies:** 8\
**Last updated:** [February 6, 2023, 1:30pm UTC](https://discourse.julialang.org/t/how-to-display-an-array-of-uint8-as-a-color-image/93990 "2023-02-06T13:30:50Z")

</div>

I have a color image represented by an array of UInt8 of size (58638, 22376, 3) that I want to display using imshow from the ImageView package. The RGB channels are contained in the third dimension of the array. I unders…

---

## [How to make a fast first plot with CairoMakie?](https://discourse.julialang.org/t/how-to-make-a-fast-first-plot-with-cairomakie/94120)

<div class="topic-metadata">

**Author:** [@YH\_Ko](https://discourse.julialang.org/u/YH_Ko)\
**Replies:** 2\
**Last updated:** [February 6, 2023, 7:23am UTC](https://discourse.julialang.org/t/how-to-make-a-fast-first-plot-with-cairomakie/94120 "2023-02-06T07:23:05Z")

</div>

I’m new to Julia language. I have tried to follow data visualization with Makie. However, the time to first plot is too long. (~50sec) 50.087309 seconds (146.21 M allocations: 7.676 GiB, 3.69% gc time, 98.74% compi…

---

## [GADFLY Font Change Not Saving](https://discourse.julialang.org/t/gadfly-font-change-not-saving/94044)

<div class="topic-metadata">

**Author:** [@ChrisVL1](https://discourse.julialang.org/u/ChrisVL1)\
**Replies:** 5\
**Last updated:** [February 6, 2023, 2:25am UTC](https://discourse.julialang.org/t/gadfly-font-change-not-saving/94044 "2023-02-06T02:25:42Z")

</div>

When changing the label font and saving as a PDF, the saved pdf does not display the changed font style. Here’s an example: xs = convert(Vector{Float64}, tsteps) layer2 = layer(x=xs1, y=Euler\_Maruyama1,Geom.line,Them…

---

## [Disabling grouping along x-axis in grouped boxplot](https://discourse.julialang.org/t/disabling-grouping-along-x-axis-in-grouped-boxplot/93997)

<div class="topic-metadata">

**Author:** [@jewh](https://discourse.julialang.org/u/jewh)\
**Replies:** 1\
**Last updated:** [February 3, 2023, 10:59pm UTC](https://discourse.julialang.org/t/disabling-grouping-along-x-axis-in-grouped-boxplot/93997 "2023-02-03T22:59:29Z")

</div>

Using the group keyword argument in Statsplots.boxplot adjusts the distance between individual boxes so that they cluster with their groups (see example below): using StatsPlots x = Vector{String}(undef, 40) for i = 1…

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

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