# Visualization

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

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

**Page:** 44

---

## [RobotOSData.jl visualization of ROS objects](https://discourse.julialang.org/t/robotosdata-jl-visualization-of-ros-objects/82804)

<div class="topic-metadata">

**Author:** [@ga72kud](https://discourse.julialang.org/u/ga72kud)\
**Replies:** 1\
**Last updated:** [September 27, 2022, 6:04am UTC](https://discourse.julialang.org/t/robotosdata-jl-visualization-of-ros-objects/82804 "2022-09-27T06:04:26Z")

</div>

Hi I use RobotOs.jl and RobotOSData.jl for reading and analyzing ROS data (rosbags). Are there any further tools to visualize ROS Markers. Best and thanks!

---

## [Change font style of figure title in Makie](https://discourse.julialang.org/t/change-font-style-of-figure-title-in-makie/87779)

<div class="topic-metadata">

**Author:** [@vembha](https://discourse.julialang.org/u/vembha)\
**Replies:** 1\
**Last updated:** [September 25, 2022, 1:20pm UTC](https://discourse.julialang.org/t/change-font-style-of-figure-title-in-makie/87779 "2022-09-25T13:20:05Z")

</div>

Hello people, After calling the CairoMakie package, I use the theming function set\_theme!(Theme(font = "Times New Roman")) to make sure all the text elements in the figure use the user-defined font - ‘Times New Roman’ i…

---

## [Makie cycle palette acress all axis?](https://discourse.julialang.org/t/makie-cycle-palette-acress-all-axis/87702)

<div class="topic-metadata">

**Author:** [@rongcuid](https://discourse.julialang.org/u/rongcuid)\
**Replies:** 2\
**Last updated:** [September 23, 2022, 5:19pm UTC](https://discourse.julialang.org/t/makie-cycle-palette-acress-all-axis/87702 "2022-09-23T17:19:31Z")

</div>

I have a figure with two axis, and I want them to share the same color cycle: fig = Figure() ax1 = Axis(fig\[1, 1\], xscale=log2) ax2 = Axis(fig\[1, 1\], yaxisposition = :right) lines!(ax1, ...) lines!(ax2, ...) I would li…

---

## [\`Plots.jl\` colorbar title position](https://discourse.julialang.org/t/plots-jl-colorbar-title-position/87663)

<div class="topic-metadata">

**Author:** [@jamblejoe](https://discourse.julialang.org/u/jamblejoe)\
**Replies:** 2\
**Last updated:** [September 23, 2022, 9:49am UTC](https://discourse.julialang.org/t/plots-jl-colorbar-title-position/87663 "2022-09-23T09:49:13Z")

</div>

Consider with pyplot heatmap(1:10, 1:10, rand(10,10); cbar=:top, cbar\_title="TITLE", colorbar\_titlefontsize=40, colorbar\_titlefontcolor=:white) resulting in How can I make the title of the colorbar appea…

---

## [Are we gui yet?](https://discourse.julialang.org/t/are-we-gui-yet/86255)

<div class="topic-metadata">

**Author:** [@dgs](https://discourse.julialang.org/u/dgs)\
**Replies:** 18\
**Last updated:** [September 23, 2022, 9:04am UTC](https://discourse.julialang.org/t/are-we-gui-yet/86255 "2022-09-23T09:04:04Z")

</div>

Hi, I am currently looking for package options to create applications for internal clients. What I would really need is : easy to use (documented package would be nice) widgets (file pickers, sliders…) Plots.jl (sca…

---

## [PyPlot.jl reduce white space after tight\_layout()](https://discourse.julialang.org/t/pyplot-jl-reduce-white-space-after-tight-layout/86923)

<div class="topic-metadata">

**Author:** [@sparrowhawk](https://discourse.julialang.org/u/sparrowhawk)\
**Replies:** 2\
**Last updated:** [September 21, 2022, 6:22am UTC](https://discourse.julialang.org/t/pyplot-jl-reduce-white-space-after-tight-layout/86923 "2022-09-21T06:22:08Z")

</div>

Can I reduce the amount of whitespace between subplots after the plot? Please note I need AA and BB to have linked X, Y axes and the same sizes with a shared colorbar, and that AA, BB and CC need to have a shared X axis…

---

## [Unable to add multiple plots to a single scene in Makie](https://discourse.julialang.org/t/unable-to-add-multiple-plots-to-a-single-scene-in-makie/87527)

<div class="topic-metadata">

**Author:** [@malton31](https://discourse.julialang.org/u/malton31)\
**Replies:** 4\
**Last updated:** [September 21, 2022, 1:16am UTC](https://discourse.julialang.org/t/unable-to-add-multiple-plots-to-a-single-scene-in-makie/87527 "2022-09-21T01:16:17Z")

</div>

I am new to Makie and Julia in VSCode and I am trying to plot two plots in one scene. My code is using Makie, GLMakie GLMakie.activate!() Makie.inline!(true) x = rand(100) y = rand(100) z = rand(100) scene = scatter…

---

## [How to combine two different colormaps into one](https://discourse.julialang.org/t/how-to-combine-two-different-colormaps-into-one/87529)

<div class="topic-metadata">

**Author:** [@yhchang96](https://discourse.julialang.org/u/yhchang96)\
**Replies:** 1\
**Last updated:** [September 20, 2022, 7:40pm UTC](https://discourse.julialang.org/t/how-to-combine-two-different-colormaps-into-one/87529 "2022-09-20T19:40:45Z")

</div>

I come across the following colorbar somewhere and would like to implement something similar for my heatmap plot in CairoMakie: So suppose I want ColorSchemes.viridis from -5 to -2, and then ColorSchemes.Greys\_3 from …

---

## [Numeric string format for Makie plot?](https://discourse.julialang.org/t/numeric-string-format-for-makie-plot/87508)

<div class="topic-metadata">

**Author:** [@nvhoang.3110](https://discourse.julialang.org/u/nvhoang.3110)\
**Replies:** 5\
**Last updated:** [September 20, 2022, 5:10pm UTC](https://discourse.julialang.org/t/numeric-string-format-for-makie-plot/87508 "2022-09-20T17:10:44Z")

</div>

Hello everyone! Sorry if my question is too basic for some people. Basically I’m trying to define the numeric string format for my Makie plot, specifically for the axis. The numbers on the y-axis that I want to display h…

---

## [Make lines in legend longer](https://discourse.julialang.org/t/make-lines-in-legend-longer/87479)

<div class="topic-metadata">

**Author:** [@Gregstrq](https://discourse.julialang.org/u/Gregstrq)\
**Replies:** 2\
**Last updated:** [September 20, 2022, 10:30am UTC](https://discourse.julialang.org/t/make-lines-in-legend-longer/87479 "2022-09-20T10:30:21Z")

</div>

I am trying to create a separate common legend for a grid of plots, however the length of the lines in the legend appears too short. What keyword argument modifies it?

---

## [Getting attribute error: "Unknown property math\_fontfamily" from Plots](https://discourse.julialang.org/t/getting-attribute-error-unknown-property-math-fontfamily-from-plots/87486)

<div class="topic-metadata">

**Author:** [@Grace\_Chuan](https://discourse.julialang.org/u/Grace_Chuan)\
**Replies:** 4\
**Last updated:** [September 19, 2022, 7:23pm UTC](https://discourse.julialang.org/t/getting-attribute-error-unknown-property-math-fontfamily-from-plots/87486 "2022-09-19T19:23:44Z")

</div>

Hi everyone, I am trying to plot 3d graphics using Plots in jupyter notebook but everytime I try, I always get the error of unknown property math\_fontfamily. I posted a screenshot to show what I mean. Plots work for my …

---

## [Setting font of minus sign in exponent in Makie](https://discourse.julialang.org/t/setting-font-of-minus-sign-in-exponent-in-makie/87243)

<div class="topic-metadata">

**Author:** [@yhchang96](https://discourse.julialang.org/u/yhchang96)\
**Replies:** 3\
**Last updated:** [September 18, 2022, 1:03am UTC](https://discourse.julialang.org/t/setting-font-of-minus-sign-in-exponent-in-makie/87243 "2022-09-18T01:03:11Z")

</div>

With the following code: using CairoMakie CairoMakie.activate!() set\_theme!() set\_theme!(font = "Arial",) function log\_tick\_formatter(values) return map(v -\> "10" \* Makie.UnicodeFun.to\_superscript(round(Int64, v))…

---

## [Inset position and dimensions relative to the axes instead of relative to the plot](https://discourse.julialang.org/t/inset-position-and-dimensions-relative-to-the-axes-instead-of-relative-to-the-plot/87375)

<div class="topic-metadata">

**Author:** [@Gregstrq](https://discourse.julialang.org/u/Gregstrq)\
**Replies:** 0\
**Last updated:** [September 16, 2022, 3:50pm UTC](https://discourse.julialang.org/t/inset-position-and-dimensions-relative-to-the-axes-instead-of-relative-to-the-plot/87375 "2022-09-16T15:50:57Z")

</div>

I am trying to create an inset using Plots.jl. (To be specific, I am using GR backend). Is there a keyword argument, that will interpret bbox(x,y, w,h) in such a way that the length parameters are treated as the coordin…

---

## [Equally sized grid cells in Makie](https://discourse.julialang.org/t/equally-sized-grid-cells-in-makie/87373)

<div class="topic-metadata">

**Author:** [@psterzinger](https://discourse.julialang.org/u/psterzinger)\
**Replies:** 2\
**Last updated:** [September 16, 2022, 2:49pm UTC](https://discourse.julialang.org/t/equally-sized-grid-cells-in-makie/87373 "2022-09-16T14:49:25Z")

</div>

Hi, I am trying to place 5 plots in a grid with 3 rows and 4 columns so that the first plot spans cols 2:3 in row 1 the remaining plots span cols 1:2, 3:4 in rows 2,3 all plots are of the same size However, it seems …

---

## [Ticks with integer numbers only (instead of fractional values)](https://discourse.julialang.org/t/ticks-with-integer-numbers-only-instead-of-fractional-values/87267)

<div class="topic-metadata">

**Author:** [@benoitseron](https://discourse.julialang.org/u/benoitseron)\
**Replies:** 2\
**Last updated:** [September 14, 2022, 11:40am UTC](https://discourse.julialang.org/t/ticks-with-integer-numbers-only-instead-of-fractional-values/87267 "2022-09-14T11:40:48Z")

</div>

I am looking to make a scatter plot some values with x values that can only be integers (1,2,3…). By default, Julia will sometimes use x ticks that are integers values, or sometimes as floats, depending on the range of …

---

## [Ticks detached when using colsize!(fig.layout, Relative(...)) in Makie](https://discourse.julialang.org/t/ticks-detached-when-using-colsize-fig-layout-relative-in-makie/87250)

<div class="topic-metadata">

**Author:** [@yhchang96](https://discourse.julialang.org/u/yhchang96)\
**Replies:** 2\
**Last updated:** [September 14, 2022, 7:07am UTC](https://discourse.julialang.org/t/ticks-detached-when-using-colsize-fig-layout-relative-in-makie/87250 "2022-09-14T07:07:33Z")

</div>

With the following code CairoMakie.activate!() set\_theme!() set\_theme!( Axis = ( xtickalign = 1, ytickalign = 1, xminortickalign = 1, yminortickalign = 1, xscale = log10, …

---

## [Plots.jl: removing a single axis](https://discourse.julialang.org/t/plots-jl-removing-a-single-axis/9897)

<div class="topic-metadata">

**Author:** [@yha](https://discourse.julialang.org/u/yha)\
**Replies:** 9\
**Last updated:** [September 13, 2022, 6:31pm UTC](https://discourse.julialang.org/t/plots-jl-removing-a-single-axis/9897 "2022-09-13T18:31:36Z")

</div>

I’m trying to remove the x axis (i.e., bottom border, x ticks and x labels) from a plot. For the sake of helping the documentation effort, here’s what I tried so far. My first guess was: plot(x,y,xaxis=nothing) but th…

---

## [Drawing a circle](https://discourse.julialang.org/t/drawing-a-circle/87154)

<div class="topic-metadata">

**Author:** [@Niall](https://discourse.julialang.org/u/Niall)\
**Replies:** 2\
**Last updated:** [September 12, 2022, 6:34pm UTC](https://discourse.julialang.org/t/drawing-a-circle/87154 "2022-09-12T18:34:08Z")

</div>

Hello. Can anyone please tell me what I’m doing wrong here? I just want to draw a circle at the point (1,2), but I can’t find any circle, ellipse or rectangle drawing commands in Makie. julia\> using GLMakie julia\> funct…

---

## [Displaying multiple plots at the same time](https://discourse.julialang.org/t/displaying-multiple-plots-at-the-same-time/87054)

<div class="topic-metadata">

**Author:** [@neuro\_enthusiast](https://discourse.julialang.org/u/neuro_enthusiast)\
**Replies:** 4\
**Last updated:** [September 11, 2022, 9:38am UTC](https://discourse.julialang.org/t/displaying-multiple-plots-at-the-same-time/87054 "2022-09-11T09:38:24Z")

</div>

Hi all, I was trying to plot multiple Gadfly plots and display them in two separate figures. However, only the second plot was displayed. function draw\_stuff() Gadfly.plot(x=\[1,1,2,2\],\[3,4,5,6\],Geom.violin) Gadfly.p…

---

## [\[Makie\] Latex in tick labels](https://discourse.julialang.org/t/makie-latex-in-tick-labels/86980)

<div class="topic-metadata">

**Author:** [@whatsthecraic](https://discourse.julialang.org/u/whatsthecraic)\
**Replies:** 3\
**Last updated:** [September 9, 2022, 4:15pm UTC](https://discourse.julialang.org/t/makie-latex-in-tick-labels/86980 "2022-09-09T16:15:06Z")

</div>

How do you render a latex expression for the ticks in a Makie plot ? Example: ax = Axis(Figure()\[1,1\]) xlims!(ax, 1, nothing) ax.xscale = log2 ax.xticks = (\[1, 8, 32\], \[L"2^0", L"2^3", L"2^5"\]) values = \[1,2,3,4,5,6\] p…

---

## [Inline animation using PyPlot](https://discourse.julialang.org/t/inline-animation-using-pyplot/86992)

<div class="topic-metadata">

**Author:** [@KK\_JuliaNoob](https://discourse.julialang.org/u/KK_JuliaNoob)\
**Replies:** 0\
**Last updated:** [September 9, 2022, 2:23pm UTC](https://discourse.julialang.org/t/inline-animation-using-pyplot/86992 "2022-09-09T14:23:18Z")

</div>

Is there a simple example of using PyPlot to create animated SVG plots inline in a Jupyter notebook? Ideally, I’d like to do this without writing to a file first.

---

## [Setting miter limit in Makie](https://discourse.julialang.org/t/setting-miter-limit-in-makie/86952)

<div class="topic-metadata">

**Author:** [@Michael\_Young](https://discourse.julialang.org/u/Michael_Young)\
**Replies:** 1\
**Last updated:** [September 8, 2022, 5:16pm UTC](https://discourse.julialang.org/t/setting-miter-limit-in-makie/86952 "2022-09-08T17:16:44Z")

</div>

Hello, I was wondering if there was a way to set the miter limit in Makie? I couldn’t find this in the documentation. The default for CairoMakie appears to be 10 which leads to a lot of artifacts when i have lines with a…

---

## [GLMakie \`recordframe!\` not working with \`MeshViz\`](https://discourse.julialang.org/t/glmakie-recordframe-not-working-with-meshviz/86921)

<div class="topic-metadata">

**Author:** [@lucifer1004](https://discourse.julialang.org/u/lucifer1004)\
**Replies:** 6\
**Last updated:** [September 8, 2022, 11:15am UTC](https://discourse.julialang.org/t/glmakie-recordframe-not-working-with-meshviz/86921 "2022-09-08T11:15:46Z")

</div>

I implemented a cloth-simulation algorithm in Julia and visualized the results using MeshViz and GLMakie. The GUI worked fluently and here are some screenshots: The problem is that I was unable to record a movie. …

---

## [Corner plots with AoG](https://discourse.julialang.org/t/corner-plots-with-aog/86849)

<div class="topic-metadata">

**Author:** [@martinmestre](https://discourse.julialang.org/u/martinmestre)\
**Replies:** 4\
**Last updated:** [September 7, 2022, 9:11pm UTC](https://discourse.julialang.org/t/corner-plots-with-aog/86849 "2022-09-07T21:11:38Z")

</div>

Hello, I am looking for any example/template of how to make a corner plot with AoG preferentially (otherwise with plain Makie). Thank you very much.

---

## [How to create a patch/shape with a color gradient in a simple 2d plot?](https://discourse.julialang.org/t/how-to-create-a-patch-shape-with-a-color-gradient-in-a-simple-2d-plot/62607)

<div class="topic-metadata">

**Author:** [@philihp](https://discourse.julialang.org/u/philihp)\
**Replies:** 12\
**Last updated:** [September 7, 2022, 6:52pm UTC](https://discourse.julialang.org/t/how-to-create-a-patch-shape-with-a-color-gradient-in-a-simple-2d-plot/62607 "2022-09-07T18:52:23Z")

</div>

Hi, I am trying to add a rectangle with a color gradient to a plot to indicate a special region that should fade out, i.e. have a color gradient to white. So far I have tried hpatch() and vpatch(), which give me the rect…

---

## [Nonorthogonal axes in Makie (or maybe in other plotting package)](https://discourse.julialang.org/t/nonorthogonal-axes-in-makie-or-maybe-in-other-plotting-package/86749)

<div class="topic-metadata">

**Author:** [@fedoroff](https://discourse.julialang.org/u/fedoroff)\
**Replies:** 14\
**Last updated:** [September 7, 2022, 3:05pm UTC](https://discourse.julialang.org/t/nonorthogonal-axes-in-makie-or-maybe-in-other-plotting-package/86749 "2022-09-07T15:05:45Z")

</div>

Is it possible to make a plot (both in 2d and 3d) using non-orthogonal axes? Something similar to this (link) or this (link) (though here simple image transformation is not enough for me; I want the axes transform…

---

## [How to save static svg with plotly](https://discourse.julialang.org/t/how-to-save-static-svg-with-plotly/4225)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 16\
**Last updated:** [September 6, 2022, 9:27am UTC](https://discourse.julialang.org/t/how-to-save-static-svg-with-plotly/4225 "2022-09-06T09:27:07Z")

</div>

julia\> using Plots julia\> plotly() Plots.PlotlyBackend() julia\> savefig(plot(1:5,1:5), "/tmp/x.svg") produces a HTML snippet. Is there a way to get a static SVG? Note: I know how to do this for PlotlyJS, but that doe…

---

## [Customising the legend display order in Plots.jl](https://discourse.julialang.org/t/customising-the-legend-display-order-in-plots-jl/86779)

<div class="topic-metadata">

**Author:** [@jmair](https://discourse.julialang.org/u/jmair)\
**Replies:** 1\
**Last updated:** [September 5, 2022, 1:59pm UTC](https://discourse.julialang.org/t/customising-the-legend-display-order-in-plots-jl/86779 "2022-09-05T13:59:56Z")

</div>

I am using Plots.jl with the pgfplotsx() backend and I want to have a somewhat custom legend, which has two columns and shows the marker for the expected curve next to actual samples on that curve. A MWE is given below: …

---

## [Inset axis with non-transparent background](https://discourse.julialang.org/t/inset-axis-with-non-transparent-background/86763)

<div class="topic-metadata">

**Author:** [@yhchang96](https://discourse.julialang.org/u/yhchang96)\
**Replies:** 4\
**Last updated:** [September 4, 2022, 9:20pm UTC](https://discourse.julialang.org/t/inset-axis-with-non-transparent-background/86763 "2022-09-04T21:20:06Z")

</div>

My question is essentially the same as this and this: I want to add an inset axis to an existing (main) axis, but the inset axis looks transparent and I can see the grid lines of the main axis through the inset. The ans…

---

## [How do I save a plot?](https://discourse.julialang.org/t/how-do-i-save-a-plot/35370)

<div class="topic-metadata">

**Author:** [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)\
**Replies:** 7\
**Last updated:** [September 3, 2022, 1:41pm UTC](https://discourse.julialang.org/t/how-do-i-save-a-plot/35370 "2022-09-03T13:41:29Z")

</div>

julia\> out = DataFrame(Q1 = \[3,3,3\], Q2 = \[3,2,1\]) 3×2 DataFrame │ Row │ Q1 │ Q2 │ │ │ Int64 │ Int64 │ ├─────┼───────┼───────┤ │ 1 │ 3 │ 3 │ │ 2 │ 3 │ 2 │ │ 3 │ 3 │ 1 │ julia\> fig…

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

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