# Visualization

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

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

**Page:** 77

---

## [Problem with the xticks property when saving a plot, which worked a few days ago](https://discourse.julialang.org/t/problem-with-the-xticks-property-when-saving-a-plot-which-worked-a-few-days-ago/44207)

<div class="topic-metadata">

**Author:** [@wg030](https://discourse.julialang.org/u/wg030)\
**Replies:** 1\
**Last updated:** [August 4, 2020, 10:12am UTC](https://discourse.julialang.org/t/problem-with-the-xticks-property-when-saving-a-plot-which-worked-a-few-days-ago/44207 "2020-08-04T10:12:36Z")

</div>

Hey guys, I have a problem with a piece of plotting code, that previously worked like a charm, but creates an error due to some of the latest updates now. Here is a MWE: using Plots using PyPlot x = 0:100 y = x pypl…

---

## [Animate Plot with Many Frames Quickly with Makie](https://discourse.julialang.org/t/animate-plot-with-many-frames-quickly-with-makie/44094)

<div class="topic-metadata">

**Author:** [@tross](https://discourse.julialang.org/u/tross)\
**Replies:** 4\
**Last updated:** [August 3, 2020, 10:35pm UTC](https://discourse.julialang.org/t/animate-plot-with-many-frames-quickly-with-makie/44094 "2020-08-03T22:35:51Z")

</div>

I have a data set where thousands of points are moving around over time with thousands of time steps. The problem I am having is that it is taking a very long time to generate the movie. I’ve been making the movies with…

---

## [Efficient Black/White Colormap plot](https://discourse.julialang.org/t/efficient-black-white-colormap-plot/44157)

<div class="topic-metadata">

**Author:** [@gideonsimpson](https://discourse.julialang.org/u/gideonsimpson)\
**Replies:** 1\
**Last updated:** [August 3, 2020, 2:29am UTC](https://discourse.julialang.org/t/efficient-black-white-colormap-plot/44157 "2020-08-03T02:29:03Z")

</div>

I’m trying to efficiently create visualizations of a 2D Ising model (i.e., see Ising model - Wikipedia). Using Julia plots contour seems wasteful, and is definitely slow. Is there some simple black/white plot that coul…

---

## [Plot 2D graph ,color of scatter points associate with value](https://discourse.julialang.org/t/plot-2d-graph-color-of-scatter-points-associate-with-value/44148)

<div class="topic-metadata">

**Author:** [@Dyranne](https://discourse.julialang.org/u/Dyranne)\
**Replies:** 0\
**Last updated:** [August 2, 2020, 7:17pm UTC](https://discourse.julialang.org/t/plot-2d-graph-color-of-scatter-points-associate-with-value/44148 "2020-08-02T19:17:15Z")

</div>

The first question is using ORCA julia\> using ORCA \[ Info: Precompiling ORCA \[47be7bcc-f1a6-5447-8b36-7eeeff7534fd\] ERROR: LoadError: ORCA not installed properly. Please call \`Pkg.build("ORCA")\` Stacktrace: \[1\] error(:…

---

## [How to set histogram alignment in Plots.jl](https://discourse.julialang.org/t/how-to-set-histogram-alignment-in-plots-jl/4273)

<div class="topic-metadata">

**Author:** [@mbeltagy](https://discourse.julialang.org/u/mbeltagy)\
**Replies:** 13\
**Last updated:** [August 1, 2020, 2:47pm UTC](https://discourse.julialang.org/t/how-to-set-histogram-alignment-in-plots-jl/4273 "2020-08-01T14:47:11Z")

</div>

In matplotlib.pyplot.hist their is an align keyword that changes alignment of the histogram from “mid”, “left”, or “right”. This keyword in currently not supported on Plots.jl. It there a way I could force pass it to the…

---

## [Problem with annotations!() in Makie](https://discourse.julialang.org/t/problem-with-annotations-in-makie/43929)

<div class="topic-metadata">

**Author:** [@pauljurczak](https://discourse.julialang.org/u/pauljurczak)\
**Replies:** 1\
**Last updated:** [July 30, 2020, 6:47pm UTC](https://discourse.julialang.org/t/problem-with-annotations-in-makie/43929 "2020-07-30T18:47:09Z")

</div>

This snippet: using AbstractPlotting, Makie, Random scene = Scene(resolution = (1200, 1500)) poly = Vec2f0.(1:10, rand(10)) labels = \["$i" for i in 1:10\] scatter!(scene, poly, color = :blue) annotations!(scene, labels,…

---

## [Clearing a scene in Makie](https://discourse.julialang.org/t/clearing-a-scene-in-makie/43790)

<div class="topic-metadata">

**Author:** [@pauljurczak](https://discourse.julialang.org/u/pauljurczak)\
**Replies:** 1\
**Last updated:** [July 28, 2020, 3:54am UTC](https://discourse.julialang.org/t/clearing-a-scene-in-makie/43790 "2020-07-28T03:54:28Z")

</div>

I have a visualization with sub-scenes. scene2 displays a polyline with text labels. Polylines change depending on mouse selections in scene1. I would like to be able to clear scene2 in example below at commented line: u…

---

## [Plotting graphs with movable nodes](https://discourse.julialang.org/t/plotting-graphs-with-movable-nodes/43615)

<div class="topic-metadata">

**Author:** [@Tomas\_Pevny](https://discourse.julialang.org/u/Tomas_Pevny)\
**Replies:** 0\
**Last updated:** [July 24, 2020, 12:52pm UTC](https://discourse.julialang.org/t/plotting-graphs-with-movable-nodes/43615 "2020-07-24T12:52:48Z")

</div>

Hi All, I would like to ask, of anyone knows about a simple way, how draw a graph, e.g. like this one such that I can move the vertices? Thanks a lot, Tomas

---

## [Makie seems overall broken after update?](https://discourse.julialang.org/t/makie-seems-overall-broken-after-update/38634)

<div class="topic-metadata">

**Author:** [@chakravala](https://discourse.julialang.org/u/chakravala)\
**Replies:** 4\
**Last updated:** [July 23, 2020, 8:09pm UTC](https://discourse.julialang.org/t/makie-seems-overall-broken-after-update/38634 "2020-07-23T20:09:18Z")

</div>

The example for mesh (and my own personal examples) are not working http://juliaplots.org/MakieReferenceImages/gallery//fem\_mesh\_2d/index.html Previously it worked fine, but now I get this error: ERROR: MethodError: n…

---

## [Set up Makie with Intel integrated graphics](https://discourse.julialang.org/t/set-up-makie-with-intel-integrated-graphics/40884)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 4\
**Last updated:** [July 23, 2020, 9:03am UTC](https://discourse.julialang.org/t/set-up-makie-with-intel-integrated-graphics/40884 "2020-07-23T09:03:47Z")

</div>

I would like to try the fancy new InteractiveViz package. Julia 1.4 on a laptop running Fedora 32 Linux Intel Corporation HD Graphics 620 (rev 02) Glxinfo says that I am using Mesa rendering: direct rendering: Yes s…

---

## [GKS problem, using Plots](https://discourse.julialang.org/t/gks-problem-using-plots/43464)

<div class="topic-metadata">

**Author:** [@cruddy](https://discourse.julialang.org/u/cruddy)\
**Replies:** 1\
**Last updated:** [July 22, 2020, 6:21am UTC](https://discourse.julialang.org/t/gks-problem-using-plots/43464 "2020-07-22T06:21:22Z")

</div>

Hi, I don’t have enough experience with Julia, but I was trying to make a plot and I got an error: using Plots gr() plot(x,y,linetype=:scatter, leg=false) And I get: GKS: GDP primitive not supported for X11 I’ve tr…

---

## [VegaLite not formatting correctly](https://discourse.julialang.org/t/vegalite-not-formatting-correctly/43470)

<div class="topic-metadata">

**Author:** [@Chris\_Anderson](https://discourse.julialang.org/u/Chris_Anderson)\
**Replies:** 0\
**Last updated:** [July 22, 2020, 3:07am UTC](https://discourse.julialang.org/t/vegalite-not-formatting-correctly/43470 "2020-07-22T03:07:40Z")

</div>

I have plotted this graph using VegaLite, but the bars are bleeding over and obscuring everything. My code: answer |\> @vlplot(mark = {type= :bar}, x = {field = :Overall\_mean, scale = {domain = \[76,85\]}, axis = {title =…

---

## [Asking again about tick labels in Makie](https://discourse.julialang.org/t/asking-again-about-tick-labels-in-makie/43304)

<div class="topic-metadata">

**Author:** [@Noel\_Araujo](https://discourse.julialang.org/u/Noel_Araujo)\
**Replies:** 0\
**Last updated:** [July 18, 2020, 7:08pm UTC](https://discourse.julialang.org/t/asking-again-about-tick-labels-in-makie/43304 "2020-07-18T19:08:20Z")

</div>

Hellos :vulcan\_salute: I come upon this post of how to change tick labels with Makie, but is it not working because NT is not defined. Looking at Makie documentation, the solution should be the function: Function xtic…

---

## [Unfortunate interaction between ImageCore and Gadfly](https://discourse.julialang.org/t/unfortunate-interaction-between-imagecore-and-gadfly/43287)

<div class="topic-metadata">

**Author:** [@NicholasWMRitchie](https://discourse.julialang.org/u/NicholasWMRitchie)\
**Replies:** 1\
**Last updated:** [July 18, 2020, 3:39pm UTC](https://discourse.julialang.org/t/unfortunate-interaction-between-imagecore-and-gadfly/43287 "2020-07-18T15:39:36Z")

</div>

I’ve discovered an unfortunate interaction in which just loading ImageCore causes Gadfly to fail. This took me days to debug :frowning: as initially I assumed the error was in my code. It was only when I guessed that t…

---

## [Projecting Histograms in 3D](https://discourse.julialang.org/t/projecting-histograms-in-3d/43149)

<div class="topic-metadata">

**Author:** [@Ian\_Slagle](https://discourse.julialang.org/u/Ian_Slagle)\
**Replies:** 6\
**Last updated:** [July 17, 2020, 5:42pm UTC](https://discourse.julialang.org/t/projecting-histograms-in-3d/43149 "2020-07-17T17:42:56Z")

</div>

Is it possible to make a plot like this in Julia? I’ve looked into plot3d, but I can’t get histograms to work with it.

---

## [Plotting weighted graphs](https://discourse.julialang.org/t/plotting-weighted-graphs/43127)

<div class="topic-metadata">

**Author:** [@ohmsweetohm1](https://discourse.julialang.org/u/ohmsweetohm1)\
**Replies:** 3\
**Last updated:** [July 16, 2020, 12:14pm UTC](https://discourse.julialang.org/t/plotting-weighted-graphs/43127 "2020-07-16T12:14:45Z")

</div>

Is it possible to plot a SimpleWeightedGraphs.SimpleWeightedDiGraph? Using GraphPlot I get an error.

---

## [Trouble plotting grouped data (VegaLite.jl)](https://discourse.julialang.org/t/trouble-plotting-grouped-data-vegalite-jl/42874)

<div class="topic-metadata">

**Author:** [@Chris\_Anderson](https://discourse.julialang.org/u/Chris_Anderson)\
**Replies:** 2\
**Last updated:** [July 14, 2020, 5:14pm UTC](https://discourse.julialang.org/t/trouble-plotting-grouped-data-vegalite-jl/42874 "2020-07-14T17:14:04Z")

</div>

I’m having a lot of trouble plotting this df the way I would like. What I hope to produce is seven plots (faceted by company), each plot having gear on the x axis and Overall mean on the y axis. Each company does not n…

---

## [Plots stopped working: "no method matching get\_color\_palette"](https://discourse.julialang.org/t/plots-stopped-working-no-method-matching-get-color-palette/38433)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 7\
**Last updated:** [July 13, 2020, 5:47pm UTC](https://discourse.julialang.org/t/plots-stopped-working-no-method-matching-get-color-palette/38433 "2020-07-13T17:47:22Z")

</div>

Plotting have suddenly stopped working. It happened around the time I ran a Pkg.update(). This is a minimal example, and the corresponding error: using Plots plot(x -\> x^2) MethodError: no method matching get\_color\_pa…

---

## [DataVoyager question](https://discourse.julialang.org/t/datavoyager-question/42205)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 2\
**Last updated:** [July 13, 2020, 5:48am UTC](https://discourse.julialang.org/t/datavoyager-question/42205 "2020-07-13T05:48:41Z")

</div>

I have spent far too long today downloading an Excel format file containing the HPC Top500 data for this month. With DataVoyager I try to load a dataframe which has bene read in from this file

---

## [Plots.jl crash](https://discourse.julialang.org/t/plots-jl-crash/42852)

<div class="topic-metadata">

**Author:** [@Honza9723](https://discourse.julialang.org/u/Honza9723)\
**Replies:** 2\
**Last updated:** [July 10, 2020, 4:52pm UTC](https://discourse.julialang.org/t/plots-jl-crash/42852 "2020-07-10T16:52:57Z")

</div>

Hi, after updating package Plots.jl, the command “using Plots” gave me the following error. Re-building package doesn’t help, however, other packages work without any problem. Could somebody please give me some advice h…

---

## [In Plots.jl, how does one control the space between ylabel and yaxis?](https://discourse.julialang.org/t/in-plots-jl-how-does-one-control-the-space-between-ylabel-and-yaxis/5717)

<div class="topic-metadata">

**Author:** [@mwsohn](https://discourse.julialang.org/u/mwsohn)\
**Replies:** 14\
**Last updated:** [July 9, 2020, 6:44pm UTC](https://discourse.julialang.org/t/in-plots-jl-how-does-one-control-the-space-between-ylabel-and-yaxis/5717 "2020-07-09T18:44:46Z")

</div>

I don’t seem to find any example or documentation about this.

---

## [How to add a rotated annotation using Plots.jl?](https://discourse.julialang.org/t/how-to-add-a-rotated-annotation-using-plots-jl/33705)

<div class="topic-metadata">

**Author:** [@Tianzhu\_Xiong](https://discourse.julialang.org/u/Tianzhu_Xiong)\
**Replies:** 2\
**Last updated:** [July 8, 2020, 5:21pm UTC](https://discourse.julialang.org/t/how-to-add-a-rotated-annotation-using-plots-jl/33705 "2020-07-08T17:21:29Z")

</div>

Sometimes it is convenient to squeeze in a rotated (eg. vertically placed) text in a thin figure. The annotate!() method in Plots.jl seems to only produce horizontal text in the plot, is there any trick to rotate the tex…

---

## [Getting the "current seriescolor" in a recipe](https://discourse.julialang.org/t/getting-the-current-seriescolor-in-a-recipe/42675)

<div class="topic-metadata">

**Author:** [@met-j](https://discourse.julialang.org/u/met-j)\
**Replies:** 2\
**Last updated:** [July 8, 2020, 8:29am UTC](https://discourse.julialang.org/t/getting-the-current-seriescolor-in-a-recipe/42675 "2020-07-08T08:29:46Z")

</div>

I am working on a Plots recipe based on the marginalhist example. I would like to make the fillcolor of the histogram subplots dependend on the colorgradient used. While this works manually seriescolor --\> cgrad(:star…

---

## [Saving VegaLite Plots](https://discourse.julialang.org/t/saving-vegalite-plots/42575)

<div class="topic-metadata">

**Author:** [@Chris\_Anderson](https://discourse.julialang.org/u/Chris_Anderson)\
**Replies:** 2\
**Last updated:** [July 7, 2020, 5:46pm UTC](https://discourse.julialang.org/t/saving-vegalite-plots/42575 "2020-07-07T17:46:11Z")

</div>

I’m having some trouble saving plots I’ve created using VegaLite. Here is what I’ve been trying. grph1 |\> save("/PATH/figure.png") I get this error. MethodError: no method matching save\_(::FileIO.File{FileIO.DataForm…

---

## [Tangents in Luxor.jl](https://discourse.julialang.org/t/tangents-in-luxor-jl/42170)

<div class="topic-metadata">

**Author:** [@turtle](https://discourse.julialang.org/u/turtle)\
**Replies:** 8\
**Last updated:** [July 7, 2020, 12:59am UTC](https://discourse.julialang.org/t/tangents-in-luxor-jl/42170 "2020-07-07T00:59:51Z")

</div>

I am still learning Luxor. I find two in-built tangent functions: circletangent2circles() makes circles of a particular radius tangential to two circles circlepointtangent() makes circles of a particular radius pass…

---

## [VegaLite: Facet plots with independent scales for histograms](https://discourse.julialang.org/t/vegalite-facet-plots-with-independent-scales-for-histograms/42464)

<div class="topic-metadata">

**Author:** [@hellemo](https://discourse.julialang.org/u/hellemo)\
**Replies:** 0\
**Last updated:** [July 3, 2020, 8:27am UTC](https://discourse.julialang.org/t/vegalite-facet-plots-with-independent-scales-for-histograms/42464 "2020-07-03T08:27:13Z")

</div>

I would like to do a facet plot with independent scales for the x-axis, but can’t get it to work. It works for the y-axis though. Any ideas? EDIT: I tried switching the axes to no avail, so it seems it has to do with th…

---

## [Makie bug with tetrahedral meshes](https://discourse.julialang.org/t/makie-bug-with-tetrahedral-meshes/41834)

<div class="topic-metadata">

**Author:** [@chakravala](https://discourse.julialang.org/u/chakravala)\
**Replies:** 13\
**Last updated:** [July 3, 2020, 3:27am UTC](https://discourse.julialang.org/t/makie-bug-with-tetrahedral-meshes/41834 "2020-07-03T03:27:52Z")

</div>

In Makie.jl there is a bug with displaying tetrahedral meshes. Using the example from TetGen.jl Note that at the corners there are missing edges and faces in the plot. However, I have verified that those edges/faces…

---

## [Changing geom color in Gadfly](https://discourse.julialang.org/t/changing-geom-color-in-gadfly/41401)

<div class="topic-metadata">

**Author:** [@EricChameroy](https://discourse.julialang.org/u/EricChameroy)\
**Replies:** 6\
**Last updated:** [June 30, 2020, 9:10pm UTC](https://discourse.julialang.org/t/changing-geom-color-in-gadfly/41401 "2020-06-30T21:10:34Z")

</div>

Hi. I’m trying to change the line color in a graph I’m generating using Gadfly (in a Jupyter notebook). p = plot(Coord.cartesian(xmin=-2, xmax=2, ymin=-2, ymax=2)) for i in 1:50 push!(p, layer(x=d.A, y=prior\_dists.α\[i…

---

## [Two questions about axises for matrix plot](https://discourse.julialang.org/t/two-questions-about-axises-for-matrix-plot/41972)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 2\
**Last updated:** [June 26, 2020, 7:47pm UTC](https://discourse.julialang.org/t/two-questions-about-axises-for-matrix-plot/41972 "2020-06-26T19:47:49Z")

</div>

I have this code plot(1:20,1:20,rand(RGB{Float64}, 20, 20)) Here the y-axis goes from top to bottom, and the x-axis from left to right. But what if I want both to start from the bottom left corner? I can easily transfo…

---

## [Luxor questions](https://discourse.julialang.org/t/luxor-questions/41946)

<div class="topic-metadata">

**Author:** [@turtle](https://discourse.julialang.org/u/turtle)\
**Replies:** 14\
**Last updated:** [June 25, 2020, 11:00pm UTC](https://discourse.julialang.org/t/luxor-questions/41946 "2020-06-25T23:00:11Z")

</div>

I have started learning Luxor.jl, and I find it great. I would have two questions: Can I reverse the default coordinate system somehow? (i.e. x axis to the right, but y axis upwards) Can I use LaTeX expressions as te…

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

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