# Visualization

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

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

**Page:** 94

---

## [PyPlot: The Python package matplotlib.pyplot could not be found by pyimport](https://discourse.julialang.org/t/pyplot-the-python-package-matplotlib-pyplot-could-not-be-found-by-pyimport/8019)

<div class="topic-metadata">

**Author:** [@v-i-s-h](https://discourse.julialang.org/u/v-i-s-h)\
**Replies:** 6\
**Last updated:** [December 28, 2017, 11:21am UTC](https://discourse.julialang.org/t/pyplot-the-python-package-matplotlib-pyplot-could-not-be-found-by-pyimport/8019 "2017-12-28T11:21:40Z")

</div>

Hi, I have installed Julia 0.6.2 in my Ubuntu 16.04 and is using Conda for julia’s python distribution. julia\> versioninfo() Julia Version 0.6.2 Commit d386e40c17 (2017-12-13 18:08 UTC) Platform Info: OS: Linux (x86\_…

---

## [Contour plot of density function](https://discourse.julialang.org/t/contour-plot-of-density-function/7806)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 9\
**Last updated:** [December 17, 2017, 12:00pm UTC](https://discourse.julialang.org/t/contour-plot-of-density-function/7806 "2017-12-17T12:00:21Z")

</div>

I need to make plots that visualize a known probability distribution on \[0,1\]^2. Specifically, when z \\sim \\text{MvNormal}(\\mu, \\Sigma) then x = \\text{logistic}(z\_1) and y = \\text{logistic}(z\_2), which defines a pdf p…

---

## [Problem with changing color map inside plot recipe](https://discourse.julialang.org/t/problem-with-changing-color-map-inside-plot-recipe/7756)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 2\
**Last updated:** [December 14, 2017, 4:36pm UTC](https://discourse.julialang.org/t/problem-with-changing-color-map-inside-plot-recipe/7756 "2017-12-14T16:36:36Z")

</div>

Consider the following plot recipe: using RecipesBase struct DummyType end @recipe function f(dummy::DummyType) @series begin seriestype := :contourf color --\> :bluesreds \[i+j for …

---

## [First-class histogram object and plotting in Plots.jl](https://discourse.julialang.org/t/first-class-histogram-object-and-plotting-in-plots-jl/7674)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 2\
**Last updated:** [December 11, 2017, 7:33am UTC](https://discourse.julialang.org/t/first-class-histogram-object-and-plotting-in-plots-jl/7674 "2017-12-11T07:33:22Z")

</div>

I have a dataset with a large number of points, and would like to plot histograms which are costly to calculate. I would prefer if I could save the calculated histogram using JLD2, then load it in a separate script for p…

---

## [Plot(twinx(), ...) creates ylabel on the wrong side of the plot (left instead of ríght)](https://discourse.julialang.org/t/plot-twinx-creates-ylabel-on-the-wrong-side-of-the-plot-left-instead-of-right/7437)

<div class="topic-metadata">

**Author:** [@LotteVictor](https://discourse.julialang.org/u/LotteVictor)\
**Replies:** 3\
**Last updated:** [December 4, 2017, 8:53am UTC](https://discourse.julialang.org/t/plot-twinx-creates-ylabel-on-the-wrong-side-of-the-plot-left-instead-of-right/7437 "2017-12-04T08:53:13Z")

</div>

Hey all! I hope, I’m posting this in the correct category. In my question about visualization (Overlay plot with second plot with second y-axis to the right?) an issue occured that was identified as a bug by @mkborregaar…

---

## [Plots: Past, Present, and Future](https://discourse.julialang.org/t/plots-past-present-and-future/7469)

<div class="topic-metadata">

**Author:** [@tbreloff](https://discourse.julialang.org/u/tbreloff)\
**Replies:** 2\
**Last updated:** [December 3, 2017, 3:57pm UTC](https://discourse.julialang.org/t/plots-past-present-and-future/7469 "2017-12-03T15:57:01Z")

</div>

Hi all. I’ve been very passively monitoring activity in the Julia community the last few months, and I’ve noticed some confusion about Plots/JuliaPlots as well as my role in the community. I’ve been meaning to post som…

---

## [AxisArray plotted by Plots.jl](https://discourse.julialang.org/t/axisarray-plotted-by-plots-jl/3972)

<div class="topic-metadata">

**Author:** [@phlavenk](https://discourse.julialang.org/u/phlavenk)\
**Replies:** 5\
**Last updated:** [November 27, 2017, 3:14pm UTC](https://discourse.julialang.org/t/axisarray-plotted-by-plots-jl/3972 "2017-11-27T15:14:25Z")

</div>

Hi, is there a way to display an image defined using AxisArray into a plot with XY axes and scaled properly? using Images, ImageAxes, Plots img = colorview(Gray, reshape(linspace(0,1, 10000), 100, 100)) imx = AxisArray…

---

## [Adding random noise to color images](https://discourse.julialang.org/t/adding-random-noise-to-color-images/7206)

<div class="topic-metadata">

**Author:** [@Phil\_Tomson](https://discourse.julialang.org/u/Phil_Tomson)\
**Replies:** 4\
**Last updated:** [November 22, 2017, 7:48pm UTC](https://discourse.julialang.org/t/adding-random-noise-to-color-images/7206 "2017-11-22T19:48:02Z")

</div>

What would be the best way to go about adding random noise to a color image using Julia? Does Images.jl have a way to do this?

---

## [Can't install MakiE](https://discourse.julialang.org/t/cant-install-makie/7230)

<div class="topic-metadata">

**Author:** [@danielc](https://discourse.julialang.org/u/danielc)\
**Replies:** 10\
**Last updated:** [November 22, 2017, 6:54pm UTC](https://discourse.julialang.org/t/cant-install-makie/7230 "2017-11-22T18:54:37Z")

</div>

I am trying to install MakiE on Julia 0.6 but the package doesn’t seem to be available: julia\> Pkg.add("Makie") ERROR: unknown package Makie I just want to test it and figure out how it works.

---

## [Where is actual development in Plotting?](https://discourse.julialang.org/t/where-is-actual-development-in-plotting/6224)

<div class="topic-metadata">

**Author:** [@lobingera](https://discourse.julialang.org/u/lobingera)\
**Replies:** 161\
**Last updated:** [November 21, 2017, 6:41pm UTC](https://discourse.julialang.org/t/where-is-actual-development-in-plotting/6224 "2017-11-21T18:41:19Z")

</div>

i followed a little bit What can we do to make Julia grow fast? and (as usual) a long term issue of usability of plotting shows up. So i looked around a little bit on the actual packages, but (maybe it’s an observer prob…

---

## [Plots gr(): saving to file makes the on screen plot disappear forever](https://discourse.julialang.org/t/plots-gr-saving-to-file-makes-the-on-screen-plot-disappear-forever/7217)

<div class="topic-metadata">

**Author:** [@davide](https://discourse.julialang.org/u/davide)\
**Replies:** 5\
**Last updated:** [November 21, 2017, 1:12pm UTC](https://discourse.julialang.org/t/plots-gr-saving-to-file-makes-the-on-screen-plot-disappear-forever/7217 "2017-11-21T13:12:39Z")

</div>

Hi, I am experiencing an unexpected behavior when saving to file plots produced with Plots gr() backend, through the REPL. When saving to file, the plot window on the screen disappears, and never comes back again when …

---

## [Gantt Chart](https://discourse.julialang.org/t/gantt-chart/6988)

<div class="topic-metadata">

**Author:** [@Rahul\_Sharma](https://discourse.julialang.org/u/Rahul_Sharma)\
**Replies:** 9\
**Last updated:** [November 14, 2017, 10:59am UTC](https://discourse.julialang.org/t/gantt-chart/6988 "2017-11-14T10:59:03Z")

</div>

Hello, I want to draw a gnatt chart for a particular schedule using Gadfly. I have the start times of all products for a given machine and also its processing times. Can you please tell me how to do that? Thanks!

---

## [How to check if Plots.jl is installed and loaded?](https://discourse.julialang.org/t/how-to-check-if-plots-jl-is-installed-and-loaded/7047)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 12\
**Last updated:** [November 14, 2017, 6:02am UTC](https://discourse.julialang.org/t/how-to-check-if-plots-jl-is-installed-and-loaded/7047 "2017-11-14T06:02:11Z")

</div>

I am writing a function that generates a plot. In case Plots.jl is not installed on the user’s machine or in case it is not loaded in the current Julia session I’d like to print a warning. What is a good way to achieve t…

---

## [How to replace the current plot in the same browser tab?](https://discourse.julialang.org/t/how-to-replace-the-current-plot-in-the-same-browser-tab/6757)

<div class="topic-metadata">

**Author:** [@turtle](https://discourse.julialang.org/u/turtle)\
**Replies:** 2\
**Last updated:** [October 30, 2017, 9:02am UTC](https://discourse.julialang.org/t/how-to-replace-the-current-plot-in-the-same-browser-tab/6757 "2017-10-30T09:02:17Z")

</div>

With Plots + Plotly each new plot is created in a new browser tab. Is it possible to replace the current plot in the same tab?

---

## [Plots.jl styling vs. GR](https://discourse.julialang.org/t/plots-jl-styling-vs-gr/6676)

<div class="topic-metadata">

**Author:** [@Oliver\_Lylloff](https://discourse.julialang.org/u/Oliver_Lylloff)\
**Replies:** 2\
**Last updated:** [October 25, 2017, 11:50am UTC](https://discourse.julialang.org/t/plots-jl-styling-vs-gr/6676 "2017-10-25T11:50:58Z")

</div>

Hi there, I really enjoy Plots and GR (independently and as a backend for Plots). Thanks to the devs for putting all that love into it. Up until now I’ve used whatever suited my specific plotting needs but I’m starting…

---

## [Best way to view an image or 2-D array in Atom/Juno?](https://discourse.julialang.org/t/best-way-to-view-an-image-or-2-d-array-in-atom-juno/6523)

<div class="topic-metadata">

**Author:** [@davidssmith](https://discourse.julialang.org/u/davidssmith)\
**Replies:** 4\
**Last updated:** [October 18, 2017, 5:47pm UTC](https://discourse.julialang.org/t/best-way-to-view-an-image-or-2-d-array-in-atom-juno/6523 "2017-10-18T17:47:18Z")

</div>

What is the most seamless way to view images in the Juno IDE with Atom? Typically my “images” are 2-D float arrays, not RGB. I usually use imshow from PyPlot, but that doesn’t seem to work inline with Atom. Thanks!

---

## [Function to re-orient mesh faces](https://discourse.julialang.org/t/function-to-re-orient-mesh-faces/6499)

<div class="topic-metadata">

**Author:** [@jaakkor2](https://discourse.julialang.org/u/jaakkor2)\
**Replies:** 4\
**Last updated:** [October 18, 2017, 2:51pm UTC](https://discourse.julialang.org/t/function-to-re-orient-mesh-faces/6499 "2017-10-18T14:51:12Z")

</div>

Tried to find Julia implementation of re-orienting faces of a mesh. Does an implementation exist? Geometries from external sources not necessary have their faces oriented consistently (even if possible). If visualized i…

---

## [Understanding recipes in Plots.jl](https://discourse.julialang.org/t/understanding-recipes-in-plots-jl/1912)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 24\
**Last updated:** [October 17, 2017, 7:43pm UTC](https://discourse.julialang.org/t/understanding-recipes-in-plots-jl/1912 "2017-10-17T19:43:33Z")

</div>

I am trying to define a recipe for my package that generates a plot out of an image. Consider the simplified example below: # somewhere in my package... using RecipesBase @recipe function plotfoo(A::AbstractArray) x…

---

## [Integrating Leaflet into Julia](https://discourse.julialang.org/t/integrating-leaflet-into-julia/6411)

<div class="topic-metadata">

**Author:** [@Balinus](https://discourse.julialang.org/u/Balinus)\
**Replies:** 2\
**Last updated:** [October 12, 2017, 6:28pm UTC](https://discourse.julialang.org/t/integrating-leaflet-into-julia/6411 "2017-10-12T18:28:02Z")

</div>

Hello! I’m currently testing leaflet.js through the Python Folium package through Julia (that’s a lot of “through”). I find that the maps are really nice and I’m looking to use that framework into my package (ClimateToo…

---

## [\`InexactError\` when plotting \`DateTime\` in Plots.jl](https://discourse.julialang.org/t/inexacterror-when-plotting-datetime-in-plots-jl/6379)

<div class="topic-metadata">

**Author:** [@ExpandingMan](https://discourse.julialang.org/u/ExpandingMan)\
**Replies:** 3\
**Last updated:** [October 10, 2017, 6:04pm UTC](https://discourse.julialang.org/t/inexacterror-when-plotting-datetime-in-plots-jl/6379 "2017-10-10T18:04:21Z")

</div>

When attempting to plot a histogram of DateTime I get the following error ERROR: LoadError: InexactError() Stacktrace: \[1\] convert(::Type{Int64}, ::Float64) at ./float.jl:679 \[2\] UTM at ./dates/types.jl:74 \[inlined\] …

---

## [Triangulated surfaces in GR: ray-tracing](https://discourse.julialang.org/t/triangulated-surfaces-in-gr-ray-tracing/6348)

<div class="topic-metadata">

**Author:** [@sswatson](https://discourse.julialang.org/u/sswatson)\
**Replies:** 1\
**Last updated:** [October 9, 2017, 2:41pm UTC](https://discourse.julialang.org/t/triangulated-surfaces-in-gr-ray-tracing/6348 "2017-10-09T14:41:00Z")

</div>

I’m looking to use GR along with Interact.jl for a 3D visualization in IJulia, and I noticed that GR.trisurface seems to have some difficulties with overlapping polygons (as matplotlib does). Is there currently a way to…

---

## [How to open a graphics file on Windows using run()](https://discourse.julialang.org/t/how-to-open-a-graphics-file-on-windows-using-run/2955)

<div class="topic-metadata">

**Author:** [@cormullion](https://discourse.julialang.org/u/cormullion)\
**Replies:** 6\
**Last updated:** [October 2, 2017, 4:50pm UTC](https://discourse.julialang.org/t/how-to-open-a-graphics-file-on-windows-using-run/2955 "2017-10-02T16:50:02Z")

</div>

On macOS I can do this: run(\`open $(filename)\`) where filename might be image.png or /tmp/test.pdf or /Users/me/test.svg, and the file will open in Preview or Safari or whatever app you’ve decided to make the default f…

---

## [The two arrows in the juno plotting panel?](https://discourse.julialang.org/t/the-two-arrows-in-the-juno-plotting-panel/2967)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 8\
**Last updated:** [September 29, 2017, 12:46pm UTC](https://discourse.julialang.org/t/the-two-arrows-in-the-juno-plotting-panel/2967 "2017-09-29T12:46:55Z")

</div>

The two arrows behind the title in the juno plotting panel should supposedly allow to switch between several plots in memory, but they are not clickable on my juno installation. Not yet implemented, something not workin…

---

## [Why does plot use floats on X-axis when an Int16\[\] was supplied?](https://discourse.julialang.org/t/why-does-plot-use-floats-on-x-axis-when-an-int16-was-supplied/6132)

<div class="topic-metadata">

**Author:** [@johann.spies](https://discourse.julialang.org/u/johann.spies)\
**Replies:** 2\
**Last updated:** [September 28, 2017, 8:38am UTC](https://discourse.julialang.org/t/why-does-plot-use-floats-on-x-axis-when-an-int16-was-supplied/6132 "2017-09-28T08:38:22Z")

</div>

I am trying to find my feet in Julia and Plotting. When I plot df (see below) the xticks shows values like 2005.0 2007.5 2010.0 2012.5 2015.0 while the range is of the type Int16. I could, after several hours of read…

---

## [Error saving as SVG SystemError: opening file tikzpicture.log: No such file or directory](https://discourse.julialang.org/t/error-saving-as-svg-systemerror-opening-file-tikzpicture-log-no-such-file-or-directory/5960)

<div class="topic-metadata">

**Author:** [@mohamed82008](https://discourse.julialang.org/u/mohamed82008)\
**Replies:** 12\
**Last updated:** [September 22, 2017, 4:43am UTC](https://discourse.julialang.org/t/error-saving-as-svg-systemerror-opening-file-tikzpicture-log-no-such-file-or-directory/5960 "2017-09-22T04:43:11Z")

</div>

I get the above error when I try to plot using Plots.jl with pgfplots() as a backend. Any idea what is missing? double posting

---

## [How to know which plotting backend is in use?](https://discourse.julialang.org/t/how-to-know-which-plotting-backend-is-in-use/5987)

<div class="topic-metadata">

**Author:** [@chobbes](https://discourse.julialang.org/u/chobbes)\
**Replies:** 6\
**Last updated:** [September 20, 2017, 12:35pm UTC](https://discourse.julialang.org/t/how-to-know-which-plotting-backend-is-in-use/5987 "2017-09-20T12:35:33Z")

</div>

I know how to switch between backends following the Plots tutorial. Is there a way to check which backend is in use? Didn’t search the tutorial carefully. Thanks in advance for a pointer if I’ve missed it …

---

## [Editing fontstyle for colorbar](https://discourse.julialang.org/t/editing-fontstyle-for-colorbar/5967)

<div class="topic-metadata">

**Author:** [@AnkurD](https://discourse.julialang.org/u/AnkurD)\
**Replies:** 3\
**Last updated:** [September 20, 2017, 1:42am UTC](https://discourse.julialang.org/t/editing-fontstyle-for-colorbar/5967 "2017-09-20T01:42:05Z")

</div>

I was trying to adjust the colorbar fonts in my heatmap, but I realized that there is no option to do so through PyPlot (or any other backend for that matter). I could just go back and call matplotlib directly, but that …

---

## [Plotting with Julia using Java Plots](https://discourse.julialang.org/t/plotting-with-julia-using-java-plots/5920)

<div class="topic-metadata">

**Author:** [@sterg](https://discourse.julialang.org/u/sterg)\
**Replies:** 4\
**Last updated:** [September 17, 2017, 3:18pm UTC](https://discourse.julialang.org/t/plotting-with-julia-using-java-plots/5920 "2017-09-17T15:18:46Z")

</div>

Hi all! I started to learn Julia, and yes, it is a superb language!! However, plotting seems difficult, thus I started a project aimed to connect Java platform independent graphics, with Julia, tis nis project can b…

---

## [More ticks in \`Plots.jl\`](https://discourse.julialang.org/t/more-ticks-in-plots-jl/5575)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 4\
**Last updated:** [August 29, 2017, 11:01am UTC](https://discourse.julialang.org/t/more-ticks-in-plots-jl/5575 "2017-08-29T11:01:01Z")

</div>

Sometimes Plots.jl gives me too few ticks with some backends, especially GR, which is now my favourite. MWE: using Plots using StatPlots gr() # important x = linspace(0.2291313228541989, 0.3318750511155737, 100) plot(de…

---

## [Mmapping a discontiguous file?](https://discourse.julialang.org/t/mmapping-a-discontiguous-file/2016)

<div class="topic-metadata">

**Author:** [@tlnagy](https://discourse.julialang.org/u/tlnagy)\
**Replies:** 4\
**Last updated:** [August 26, 2017, 3:48am UTC](https://discourse.julialang.org/t/mmapping-a-discontiguous-file/2016 "2017-08-26T03:48:39Z")

</div>

I’m writing a parser for OME-TIFFs, which are pretty large binary files with many sets of XY matrices (images) stored inside of them (I have a list of their offsets within each file). Another limitation is that these fil…

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

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