# Visualization

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

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

**Page:** 39

---

## [Overlay values as text in a PlotlyJS heatmap annotations](https://discourse.julialang.org/t/overlay-values-as-text-in-a-plotlyjs-heatmap-annotations/92733)

<div class="topic-metadata">

**Author:** [@sob](https://discourse.julialang.org/u/sob)\
**Replies:** 5\
**Last updated:** [January 11, 2023, 5:18pm UTC](https://discourse.julialang.org/t/overlay-values-as-text-in-a-plotlyjs-heatmap-annotations/92733 "2023-01-11T17:18:07Z")

</div>

Hi, My code is rather simple: using PlotlyJS plot(heatmap(x=\["a","b"\],y=\["c","d"\],z=rand(2,2),colorscale="Reds",showscale=false)) I’m trying to have the values as an overlay (say black text) on each of the 4 squares. …

---

## [Isolate single species when plotting ensemble problem](https://discourse.julialang.org/t/isolate-single-species-when-plotting-ensemble-problem/92784)

<div class="topic-metadata">

**Author:** [@Dragolonth](https://discourse.julialang.org/u/Dragolonth)\
**Replies:** 3\
**Last updated:** [January 11, 2023, 2:57pm UTC](https://discourse.julialang.org/t/isolate-single-species-when-plotting-ensemble-problem/92784 "2023-01-11T14:57:39Z")

</div>

Hi everyone. I’ve created an ensemble problem for a reaction network with many species. However, currently, the plot shows each trajectory for each species. For example, my reaction network has 19 species, so when I spec…

---

## [PrettyTables.jl =\> Font Type and Size](https://discourse.julialang.org/t/prettytables-jl-font-type-and-size/92782)

<div class="topic-metadata">

**Author:** [@lgmendes](https://discourse.julialang.org/u/lgmendes)\
**Replies:** 0\
**Last updated:** [January 10, 2023, 11:31pm UTC](https://discourse.julialang.org/t/prettytables-jl-font-type-and-size/92782 "2023-01-10T23:31:37Z")

</div>

How can I change the font type and size of the HTML output generated using PrettyTables.jl and presented in Pluto? It is possible to rotate the text of the header 45º degrees? begin data=fill(1.0,4,4) header=\[“aaaa…

---

## [Pgfplotsx with \\mathbb](https://discourse.julialang.org/t/pgfplotsx-with-mathbb/92747)

<div class="topic-metadata">

**Author:** [@Elyco](https://discourse.julialang.org/u/Elyco)\
**Replies:** 2\
**Last updated:** [January 10, 2023, 10:21am UTC](https://discourse.julialang.org/t/pgfplotsx-with-mathbb/92747 "2023-01-10T10:21:10Z")

</div>

Hi, I’m trying to put a latex label \\mathbb{R} with pgfplotsx() backend. But I get an error: using Plots using LaTeXStrings pgfplotsx() plot(rand(10), label=L"\\mathcal{R}^{2N}") |\> display # works! plot(rand(10), labe…

---

## [Color-blind-friendly color sequence (palette) for line graphs](https://discourse.julialang.org/t/color-blind-friendly-color-sequence-palette-for-line-graphs/92551)

<div class="topic-metadata">

**Author:** [@ryofurue](https://discourse.julialang.org/u/ryofurue)\
**Replies:** 24\
**Last updated:** [January 10, 2023, 12:34am UTC](https://discourse.julialang.org/t/color-blind-friendly-color-sequence-palette-for-line-graphs/92551 "2023-01-10T00:34:01Z")

</div>

I’d like to know “what” the default color sequence is for line graphs, such as the sample code below generates. In particular I’d like to know whether consideration has gone into the color palette about color blindness.…

---

## [Mathematica BSplineCurve in Julia](https://discourse.julialang.org/t/mathematica-bsplinecurve-in-julia/78107)

<div class="topic-metadata">

**Author:** [@arnief3](https://discourse.julialang.org/u/arnief3)\
**Replies:** 17\
**Last updated:** [January 9, 2023, 9:05am UTC](https://discourse.julialang.org/t/mathematica-bsplinecurve-in-julia/78107 "2023-01-09T09:05:00Z")

</div>

I am trying to achieve the same result as BSplineCurve—Wolfram Language Documentation in julia. I have used Dierckx.jl for more straightforward spline fitting but am stumped on how to place data points and knots to achie…

---

## [How to set xlabel and ylabel in Makie recipe?](https://discourse.julialang.org/t/how-to-set-xlabel-and-ylabel-in-makie-recipe/68279)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 6\
**Last updated:** [January 8, 2023, 11:13pm UTC](https://discourse.julialang.org/t/how-to-set-xlabel-and-ylabel-in-makie-recipe/68279 "2023-01-08T23:13:36Z")

</div>

Is it possible to set the xlabel, ylabel and zlabel within a Makie recipe? I am finishing a recipe for biplots, but can’t figure out how to set the labels of the axes to contain the variance explained. I would like to w…

---

## [PlotlyJS Buttons question](https://discourse.julialang.org/t/plotlyjs-buttons-question/92577)

<div class="topic-metadata">

**Author:** [@marianoarnaiz](https://discourse.julialang.org/u/marianoarnaiz)\
**Replies:** 5\
**Last updated:** [January 7, 2023, 7:50pm UTC](https://discourse.julialang.org/t/plotlyjs-buttons-question/92577 "2023-01-07T19:50:16Z")

</div>

Hi everyone. I am trying to understand how to do a couple of simple things with the buttons in PlotlyJS and I wonder if you can help me. I have some data, and I want to add a dropdown menu to chance the color of each s…

---

## [Text wrap in Makie?](https://discourse.julialang.org/t/text-wrap-in-makie/92631)

<div class="topic-metadata">

**Author:** [@Jon\_Norberg](https://discourse.julialang.org/u/Jon_Norberg)\
**Replies:** 2\
**Last updated:** [January 7, 2023, 3:04pm UTC](https://discourse.julialang.org/t/text-wrap-in-makie/92631 "2023-01-07T15:04:20Z")

</div>

Looking at documentation for Makie text there is a keyword for text wrapping: word\_wrap\_with::Real = -1. I need a bit of explanatory text in one panel but I cannot get the wrap to work. Any one has an idea how to fix tha…

---

## [3D wireframe diagrams?](https://discourse.julialang.org/t/3d-wireframe-diagrams/47918)

<div class="topic-metadata">

**Author:** [@amca01](https://discourse.julialang.org/u/amca01)\
**Replies:** 8\
**Last updated:** [January 6, 2023, 2:25pm UTC](https://discourse.julialang.org/t/3d-wireframe-diagrams/47918 "2023-01-06T14:25:43Z")

</div>

Hello, I’m wanting a Julia package that will enable me to draw a wireframe diagram - just points in space joined by lines - and move it around to view it from different angles or perspectives. I do most of my work in Ju…

---

## [Plot lines and markers beyond the limits of the axes?](https://discourse.julialang.org/t/plot-lines-and-markers-beyond-the-limits-of-the-axes/92506)

<div class="topic-metadata">

**Author:** [@ryofurue](https://discourse.julialang.org/u/ryofurue)\
**Replies:** 3\
**Last updated:** [January 5, 2023, 7:38am UTC](https://discourse.julialang.org/t/plot-lines-and-markers-beyond-the-limits-of-the-axes/92506 "2023-01-05T07:38:35Z")

</div>

Is it possible? I tried to search for information but I’m not sure what key words I should use . . . In the following example, the first and last markers are cut in half or quarter at the left and right edges of the fr…

---

## [Problem displaying images with ImageView and Gtk/GtkReactive](https://discourse.julialang.org/t/problem-displaying-images-with-imageview-and-gtk-gtkreactive/92507)

<div class="topic-metadata">

**Author:** [@harven](https://discourse.julialang.org/u/harven)\
**Replies:** 1\
**Last updated:** [January 4, 2023, 9:21pm UTC](https://discourse.julialang.org/t/problem-displaying-images-with-imageview-and-gtk-gtkreactive/92507 "2023-01-04T21:21:44Z")

</div>

I have a problem using GtkReactive and Gtk. \> using Images, ImageView \> imshow(\[1 1 ; 1 1\]) gives a small black square. If now I load GtkReactive and Gtk, \> using GtkReactive, Gtk \> imshow(\[1 1 ; 1 1\]) I get a blank…

---

## [Problem saving a UnicodePlots figure](https://discourse.julialang.org/t/problem-saving-a-unicodeplots-figure/92522)

<div class="topic-metadata">

**Author:** [@MarawanEmara](https://discourse.julialang.org/u/MarawanEmara)\
**Replies:** 1\
**Last updated:** [January 4, 2023, 8:55pm UTC](https://discourse.julialang.org/t/problem-saving-a-unicodeplots-figure/92522 "2023-01-04T20:55:02Z")

</div>

Hello! I have a problem-saving plot formed through UnicodePlots. The code I’m using could be found in this GitHub Repository. Everything works fine, I just wanted to attempt and save one of the plots to try and export …

---

## [Makie - How to serve WGLMakie visualizations on Docker image?](https://discourse.julialang.org/t/makie-how-to-serve-wglmakie-visualizations-on-docker-image/92048)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 3\
**Last updated:** [January 4, 2023, 10:49am UTC](https://discourse.julialang.org/t/makie-how-to-serve-wglmakie-visualizations-on-docker-image/92048 "2023-01-04T10:49:11Z")

</div>

I am preparing material for the upcoming JuliaEO2023 workshop, and would like to use WGLMakie on the docker image shared by @gaelforget. I understand that I need to map the port where Makie displays visualizations. I tr…

---

## [Surface plot with gaps in data](https://discourse.julialang.org/t/surface-plot-with-gaps-in-data/92441)

<div class="topic-metadata">

**Author:** [@MK-1138](https://discourse.julialang.org/u/MK-1138)\
**Replies:** 2\
**Last updated:** [January 4, 2023, 2:38am UTC](https://discourse.julialang.org/t/surface-plot-with-gaps-in-data/92441 "2023-01-04T02:38:20Z")

</div>

I’m preparing a rather large data set of x, y, z coordinates that I’d like to visualize using Makie surface plot. However, I do not have z coordinates for all (x, y) coordinates, that is, there is a gap in my data. Is it…

---

## [\[Discussion\] A new Bokeh binding?](https://discourse.julialang.org/t/discussion-a-new-bokeh-binding/44661)

<div class="topic-metadata">

**Author:** [@jling](https://discourse.julialang.org/u/jling)\
**Replies:** 7\
**Last updated:** [January 3, 2023, 4:24pm UTC](https://discourse.julialang.org/t/discussion-a-new-bokeh-binding/44661 "2023-01-03T16:24:43Z")

</div>

Recently I’ve been looking for a interactive visualization solution (again), and realized that one of Bokeh’s core dev @Bryan is actually here on the discourse and at one point was looking for people to re-make a Bokeh b…

---

## [OpenCV package - not properly supported](https://discourse.julialang.org/t/opencv-package-not-properly-supported/70389)

<div class="topic-metadata">

**Author:** [@vladimr](https://discourse.julialang.org/u/vladimr)\
**Replies:** 10\
**Last updated:** [January 2, 2023, 7:51pm UTC](https://discourse.julialang.org/t/opencv-package-not-properly-supported/70389 "2023-01-02T19:51:43Z")

</div>

Professional Image Processing in Julia is impossible without the OpenCV package. But this package doesn’t seem properly supported, at least the Windows x64 version - basic functionality doesn’t work. Is there any idea …

---

## [How to delete! in GLMakie](https://discourse.julialang.org/t/how-to-delete-in-glmakie/92259)

<div class="topic-metadata">

**Author:** [@dyatunin](https://discourse.julialang.org/u/dyatunin)\
**Replies:** 7\
**Last updated:** [December 30, 2022, 10:00am UTC](https://discourse.julialang.org/t/how-to-delete-in-glmakie/92259 "2022-12-30T10:00:14Z")

</div>

I am attempting to create an GUI with GLMakie, where elements can be added and removed interactively. I specifically want to remove groups of several Blocks at a time, but I can’t seem to be able to remove even a single …

---

## [How to preserve xformatter when adding a vline](https://discourse.julialang.org/t/how-to-preserve-xformatter-when-adding-a-vline/92051)

<div class="topic-metadata">

**Author:** [@bbejanov](https://discourse.julialang.org/u/bbejanov)\
**Replies:** 3\
**Last updated:** [December 28, 2022, 2:39pm UTC](https://discourse.julialang.org/t/how-to-preserve-xformatter-when-adding-a-vline/92051 "2022-12-28T14:39:02Z")

</div>

I have a series recipe that formats the x-axis ticks. When I add a vline, the formatting is reset to the default, i.e. my custom formatting disappears. Is it possible for vline to respect and preserve the formatting of …

---

## [Save matrix of color images](https://discourse.julialang.org/t/save-matrix-of-color-images/92170)

<div class="topic-metadata">

**Author:** [@rocco\_sprmnt21](https://discourse.julialang.org/u/rocco_sprmnt21)\
**Replies:** 2\
**Last updated:** [December 28, 2022, 10:09am UTC](https://discourse.julialang.org/t/save-matrix-of-color-images/92170 "2022-12-28T10:09:02Z")

</div>

With so much effort I managed to simulate (roughly) an animated version of Gonway’s “Game of Life”. julia\> using Plots,IterTools, Colors julia\> function gol1(n, init=rand(Bool, 10,10)) function gen(m…

---

## [How to generate random RGB values through which black text is reliably visible?](https://discourse.julialang.org/t/how-to-generate-random-rgb-values-through-which-black-text-is-reliably-visible/92148)

<div class="topic-metadata">

**Author:** [@Colin\_Beckingham](https://discourse.julialang.org/u/Colin_Beckingham)\
**Replies:** 4\
**Last updated:** [December 26, 2022, 8:40pm UTC](https://discourse.julialang.org/t/how-to-generate-random-rgb-values-through-which-black-text-is-reliably-visible/92148 "2022-12-26T20:40:10Z")

</div>

I’d like to constrain the randomly coloured nodes in my graphplot to light colours through which black font text is reliably visible. The functions in Random do not operate well with RGB since math is not permitted. How …

---

## [In Gplots, draw PNG gplot applies incorrect edge label?](https://discourse.julialang.org/t/in-gplots-draw-png-gplot-applies-incorrect-edge-label/92033)

<div class="topic-metadata">

**Author:** [@Colin\_Beckingham](https://discourse.julialang.org/u/Colin_Beckingham)\
**Replies:** 3\
**Last updated:** [December 23, 2022, 1:35pm UTC](https://discourse.julialang.org/t/in-gplots-draw-png-gplot-applies-incorrect-edge-label/92033 "2022-12-23T13:35:04Z")

</div>

I’m experimenting with drawing PNG images of graphs. All is well except that when I attempt to use edge weights as edge labels, all the correct weight values appear in the image, but they are on the wrong edges. As I cr…

---

## [How to make graphplot do the same layout every invocation](https://discourse.julialang.org/t/how-to-make-graphplot-do-the-same-layout-every-invocation/92024)

<div class="topic-metadata">

**Author:** [@brianguenter](https://discourse.julialang.org/u/brianguenter)\
**Replies:** 0\
**Last updated:** [December 22, 2022, 11:01pm UTC](https://discourse.julialang.org/t/how-to-make-graphplot-do-the-same-layout-every-invocation/92024 "2022-12-22T23:01:57Z")

</div>

I am using graphplot from GraphRecipes.jl to draw expression trees. The best layout option is :tree but unfortunately the layout changes every time graphplot is called, even if the arguments are exactly the same. Below…

---

## [Create plot layout with no separation between plots](https://discourse.julialang.org/t/create-plot-layout-with-no-separation-between-plots/91976)

<div class="topic-metadata">

**Author:** [@Pablo\_Marchant](https://discourse.julialang.org/u/Pablo_Marchant)\
**Replies:** 3\
**Last updated:** [December 22, 2022, 1:32pm UTC](https://discourse.julialang.org/t/create-plot-layout-with-no-separation-between-plots/91976 "2022-12-22T13:32:12Z")

</div>

Hi all, I’m currently trying to use Plots to produce a figure with two panels and no distance between panels. Essentially in the following example: using Plots p1 = plot(rand(10),rand(10),xformatter=Returns("")) p2 = …

---

## [Makie recipe for creating a scatter plot with points colored by value](https://discourse.julialang.org/t/makie-recipe-for-creating-a-scatter-plot-with-points-colored-by-value/91754)

<div class="topic-metadata">

**Author:** [@alex-s-gardner](https://discourse.julialang.org/u/alex-s-gardner)\
**Replies:** 6\
**Last updated:** [December 19, 2022, 6:15pm UTC](https://discourse.julialang.org/t/makie-recipe-for-creating-a-scatter-plot-with-points-colored-by-value/91754 "2022-12-19T18:15:04Z")

</div>

Does anyone have a simple example of how to make a scatter plot using Makie.jl where the points are colored by value? The same questions was posed more generally here: But I’m looking for a Makie specific solution.

---

## [Is there a package with similar functionality to ImageView?](https://discourse.julialang.org/t/is-there-a-package-with-similar-functionality-to-imageview/91739)

<div class="topic-metadata">

**Author:** [@del](https://discourse.julialang.org/u/del)\
**Replies:** 0\
**Last updated:** [December 16, 2022, 2:40pm UTC](https://discourse.julialang.org/t/is-there-a-package-with-similar-functionality-to-imageview/91739 "2022-12-16T14:40:51Z")

</div>

I’m looking for the ability to display an image in its own window when requested in the REPL.

---

## [Wrong font style being selected in Makie](https://discourse.julialang.org/t/wrong-font-style-being-selected-in-makie/91640)

<div class="topic-metadata">

**Author:** [@vembha](https://discourse.julialang.org/u/vembha)\
**Replies:** 6\
**Last updated:** [December 15, 2022, 2:34pm UTC](https://discourse.julialang.org/t/wrong-font-style-being-selected-in-makie/91640 "2022-12-15T14:34:08Z")

</div>

Hello, While plotting using ‘Makie.jl’, I am passing the command titlefont = "Arial" in Axis() command to change the title font to Arial, and as expected, I get to see Arial font being used. But when I pass titlefont = …

---

## [How to animate Sierpinski triangle construction](https://discourse.julialang.org/t/how-to-animate-sierpinski-triangle-construction/91315)

<div class="topic-metadata">

**Author:** [@rocco\_sprmnt21](https://discourse.julialang.org/u/rocco_sprmnt21)\
**Replies:** 21\
**Last updated:** [December 15, 2022, 6:43am UTC](https://discourse.julialang.org/t/how-to-animate-sierpinski-triangle-construction/91315 "2022-12-15T06:43:00Z")

</div>

How do I get an animated gif from the following construction? Possibly also changing the functions used, if a different function is more suitable for the case. using Plots gr() tr=\[(0,0),(1,0),0.5.\*(1,sqrt(3))\] p=plot(…

---

## [How to make one legend entry for same colour?](https://discourse.julialang.org/t/how-to-make-one-legend-entry-for-same-colour/44176)

<div class="topic-metadata">

**Author:** [@HelgavonLichtenstein](https://discourse.julialang.org/u/HelgavonLichtenstein)\
**Replies:** 3\
**Last updated:** [December 12, 2022, 3:59pm UTC](https://discourse.julialang.org/t/how-to-make-one-legend-entry-for-same-colour/44176 "2022-12-12T15:59:19Z")

</div>

Is there a way to make one legend entry per colour? I’d like to specify that green represents plants and brown represents nutrients. I am using Plots.jl MWE foo = 1:10; bar = rand(10, 2) my\_plot = plot(foo, bar) bart…

---

## [Missing Plots.pyrcparams in Plots version 1.37.2](https://discourse.julialang.org/t/missing-plots-pyrcparams-in-plots-version-1-37-2/91470)

<div class="topic-metadata">

**Author:** [@ntausend](https://discourse.julialang.org/u/ntausend)\
**Replies:** 5\
**Last updated:** [December 9, 2022, 3:00pm UTC](https://discourse.julialang.org/t/missing-plots-pyrcparams-in-plots-version-1-37-2/91470 "2022-12-09T15:00:14Z")

</div>

Hey all, in previous version of the Plots.jl package it was possible to configure the pyplot() backend using the Plots.pyrcparams. With this, one could use LaTex for the axis labels etc and also had full control over t…

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

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