# Visualization

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

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

**Page:** 93

---

## [Problems When Compiling PyPlot in Julia](https://discourse.julialang.org/t/problems-when-compiling-pyplot-in-julia/10031)

<div class="topic-metadata">

**Author:** [@Ximo](https://discourse.julialang.org/u/Ximo)\
**Replies:** 7\
**Last updated:** [March 28, 2018, 9:27pm UTC](https://discourse.julialang.org/t/problems-when-compiling-pyplot-in-julia/10031 "2018-03-28T21:27:05Z")

</div>

Hi, I am trying to use the PyPlot package on Ubuntu 16.04 which runs Julia 0.6. Julia fails to compile and throws the following error: Code executed: using PyPlot plot(rnm, spdup\_flop\_applyQ.(rnm), “b-”, rnm, st2m^2/…

---

## [Can ImageViewer be used to display dynamically changing data?](https://discourse.julialang.org/t/can-imageviewer-be-used-to-display-dynamically-changing-data/10010)

<div class="topic-metadata">

**Author:** [@Phil\_Tomson](https://discourse.julialang.org/u/Phil_Tomson)\
**Replies:** 4\
**Last updated:** [March 28, 2018, 2:06am UTC](https://discourse.julialang.org/t/can-imageviewer-be-used-to-display-dynamically-changing-data/10010 "2018-03-28T02:06:48Z")

</div>

Let’s say you’re training a neural net (for example) and you want to see how the results are looking after each epoch. You can do an imshow (from ImageViewer) on each epoch, but that’s going to open a new window, display…

---

## [Learning Plots... now: marker\_z?](https://discourse.julialang.org/t/learning-plots-now-marker-z/9996)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 6\
**Last updated:** [March 27, 2018, 12:33pm UTC](https://discourse.julialang.org/t/learning-plots-now-marker-z/9996 "2018-03-27T12:33:23Z")

</div>

I’m trying to learn Plots, and now: the marker\_z keyword. With xm=randn(100); ym=randn(100); the following two commands (pyplot backend) give almost the same plots: scatter(xm,ym) plot(xm,ym, markershape=:circle,li…

---

## [3D line plots?](https://discourse.julialang.org/t/3d-line-plots/9921)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 3\
**Last updated:** [March 27, 2018, 1:39am UTC](https://discourse.julialang.org/t/3d-line-plots/9921 "2018-03-27T01:39:24Z")

</div>

Yesterday, March 22, I did a 3D line plot using Plots/PyPlot: x = linspace(-2π,2π) plot(x,sin.(x),cos.(x)) This worked fine. Today, I did Pkg.update(), and re-ran the code. Doesn’t work, and I get long error message… …

---

## [Problem in cloning or adding OpenCV.jl](https://discourse.julialang.org/t/problem-in-cloning-or-adding-opencv-jl/9945)

<div class="topic-metadata">

**Author:** [@tosalonijain](https://discourse.julialang.org/u/tosalonijain)\
**Replies:** 4\
**Last updated:** [March 24, 2018, 7:42pm UTC](https://discourse.julialang.org/t/problem-in-cloning-or-adding-opencv-jl/9945 "2018-03-24T19:42:40Z")

</div>

julia\> Pkg.clone(“http://github.com/maxruby/OpenCV.jl”) INFO: Cloning OpenCV from http://github.com/maxruby/OpenCV.jl ERROR: OpenCV already exists Stacktrace: \[1\] clone(::String, ::SubString{String}) at ./pkg/entry.j…

---

## [Gtk, get coordinates of keypress](https://discourse.julialang.org/t/gtk-get-coordinates-of-keypress/9923)

<div class="topic-metadata">

**Author:** [@Kurt\_Franke](https://discourse.julialang.org/u/Kurt_Franke)\
**Replies:** 1\
**Last updated:** [March 23, 2018, 4:53pm UTC](https://discourse.julialang.org/t/gtk-get-coordinates-of-keypress/9923 "2018-03-23T16:53:01Z")

</div>

Hi, I’m trying to get a keypress to do something based on the mouse coordinate in a GtkCanvas widget. I can receive the keypress in the main GtkWindow, and I’d like to translate the coordinates with the library call gtk\_…

---

## [Plotly Documentation and Examples](https://discourse.julialang.org/t/plotly-documentation-and-examples/9775)

<div class="topic-metadata">

**Author:** [@iwelch](https://discourse.julialang.org/u/iwelch)\
**Replies:** 3\
**Last updated:** [March 17, 2018, 11:38pm UTC](https://discourse.julialang.org/t/plotly-documentation-and-examples/9775 "2018-03-17T23:38:26Z")

</div>

I think pretty much most or all of the (introductory) examples at Plotly julia graphing library in Julia are broken at this point in 0.6.2. this is a pity—the outline and docs on their webpage look great. is there a ha…

---

## [How to plot heatmap and contour plots in polar coordinates with Plots.jl?](https://discourse.julialang.org/t/how-to-plot-heatmap-and-contour-plots-in-polar-coordinates-with-plots-jl/7817)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 5\
**Last updated:** [March 17, 2018, 7:40am UTC](https://discourse.julialang.org/t/how-to-plot-heatmap-and-contour-plots-in-polar-coordinates-with-plots-jl/7817 "2018-03-17T07:40:09Z")

</div>

It is really nice to have polar coordinates implemented in Plots.jl: using Plots; gr() plot(linspace(0,3π,100), rand(100), proj=:polar, m=:red) and even nicer to interact with them using the PlotlyJS backend. Howeve…

---

## [How to link two widgets in InteractNext, WebIO?](https://discourse.julialang.org/t/how-to-link-two-widgets-in-interactnext-webio/9388)

<div class="topic-metadata">

**Author:** [@jwikmark](https://discourse.julialang.org/u/jwikmark)\
**Replies:** 3\
**Last updated:** [March 16, 2018, 8:37pm UTC](https://discourse.julialang.org/t/how-to-link-two-widgets-in-interactnext-webio/9388 "2018-03-16T20:37:53Z")

</div>

Suppose I have two sliders and I want the relationship x = 10-y to hold. I can do the following: using WebIO, InteractNext, Blink s = slider(0:10, label="x") t = slider(0:10, label="y") x = obs(s) y = obs(t) on(x) d…

---

## [Is the warp function in ImageTransformation.jl same as \_warp\_fast in python?](https://discourse.julialang.org/t/is-the-warp-function-in-imagetransformation-jl-same-as-warp-fast-in-python/9643)

<div class="topic-metadata">

**Author:** [@tosalonijain](https://discourse.julialang.org/u/tosalonijain)\
**Replies:** 0\
**Last updated:** [March 11, 2018, 8:45am UTC](https://discourse.julialang.org/t/is-the-warp-function-in-imagetransformation-jl-same-as-warp-fast-in-python/9643 "2018-03-11T08:45:21Z")

</div>

https://github.com/JuliaImages/ImageTransformations.jl/blob/master/src/warp.jl This is the link for warp in julia. https://github.com/scikit-image/scikit-image/blob/master/skimage/transform/\_warps\_cy.pyx#L37 This is t…

---

## [Google Summer of Code 2018](https://discourse.julialang.org/t/google-summer-of-code-2018/9628)

<div class="topic-metadata">

**Author:** [@arijitkar98](https://discourse.julialang.org/u/arijitkar98)\
**Replies:** 1\
**Last updated:** [March 10, 2018, 12:00pm UTC](https://discourse.julialang.org/t/google-summer-of-code-2018/9628 "2018-03-10T12:00:07Z")

</div>

Hello everyone, I am really interested in contributing towards JuliaImages, and have been doing the same. ImageFiltering.jl Images.jl I would like to continue doing so through GSoC '18. I am interested in working tow…

---

## [Update image data in existing imshow](https://discourse.julialang.org/t/update-image-data-in-existing-imshow/9609)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 3\
**Last updated:** [March 9, 2018, 8:37pm UTC](https://discourse.julialang.org/t/update-image-data-in-existing-imshow/9609 "2018-03-09T20:37:50Z")

</div>

Because of its zoom and pan capabilities, I’m hijacking ImageView.imshow as a UI for a user to pick points from an image. To accomplish that I connected to the canvas button presses (for more details see the drawing exam…

---

## [How to add ffmpeg to Travis?](https://discourse.julialang.org/t/how-to-add-ffmpeg-to-travis/9366)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 9\
**Last updated:** [March 6, 2018, 10:19am UTC](https://discourse.julialang.org/t/how-to-add-ffmpeg-to-travis/9366 "2018-03-06T10:19:39Z")

</div>

In order to test Plots.jl’ gif creation in Travis, i.e. something like this: using Base.Test, Plots anim = @animate for i=1:2 plot(rand(2)) end name = tempname()\*".gif" gif(anim, name) @test isfile(name) we have to…

---

## ["imgtrans" function under ImageProjectiveGeometry.jl not defined or identified](https://discourse.julialang.org/t/imgtrans-function-under-imageprojectivegeometry-jl-not-defined-or-identified/9513)

<div class="topic-metadata">

**Author:** [@tosalonijain](https://discourse.julialang.org/u/tosalonijain)\
**Replies:** 1\
**Last updated:** [March 6, 2018, 7:23am UTC](https://discourse.julialang.org/t/imgtrans-function-under-imageprojectivegeometry-jl-not-defined-or-identified/9513 "2018-03-06T07:23:50Z")

</div>

I am trying to utilise the function mentioned as imgtrans but getting : julia\> using ImageProjectiveGeometry julia\> newimg = imgtrans(I, p) ERROR: UndefVarError: imgtrans not defined I am prefering https://github.com…

---

## [Can't PaddedView be used to pad a grey scale or coloured image?](https://discourse.julialang.org/t/cant-paddedview-be-used-to-pad-a-grey-scale-or-coloured-image/9498)

<div class="topic-metadata">

**Author:** [@tosalonijain](https://discourse.julialang.org/u/tosalonijain)\
**Replies:** 5\
**Last updated:** [March 5, 2018, 5:35pm UTC](https://discourse.julialang.org/t/cant-paddedview-be-used-to-pad-a-grey-scale-or-coloured-image/9498 "2018-03-05T17:35:29Z")

</div>

If not then how shall I pad a non-binary image? I need this in the implementation of my radon transform code. I have been striving hard to complete the code for radon and iradon transform, your replies are awaited. Than…

---

## [Broken incremental compilation for Plots](https://discourse.julialang.org/t/broken-incremental-compilation-for-plots/9505)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 4\
**Last updated:** [March 5, 2018, 1:41pm UTC](https://discourse.julialang.org/t/broken-incremental-compilation-for-plots/9505 "2018-03-05T13:41:43Z")

</div>

I’m getting the following incremental compilation warning from \_\_precompile()ing a module that is using Plots: \_ \_ \_(\_)\_ | A fresh approach to technical computing (\_) | (\_) (\_) | Documentation: h…

---

## [histogram2d with logarithmic z-axis?](https://discourse.julialang.org/t/histogram2d-with-logarithmic-z-axis/9455)

<div class="topic-metadata">

**Author:** [@massemanet](https://discourse.julialang.org/u/massemanet)\
**Replies:** 2\
**Last updated:** [March 4, 2018, 1:26pm UTC](https://discourse.julialang.org/t/histogram2d-with-logarithmic-z-axis/9455 "2018-03-04T13:26:02Z")

</div>

is it possible to control the behavior of the z axis in histogram2d? e.g. making it logarithmic.

---

## [Can't create animations](https://discourse.julialang.org/t/cant-create-animations/9363)

<div class="topic-metadata">

**Author:** [@Robert\_Toth](https://discourse.julialang.org/u/Robert_Toth)\
**Replies:** 3\
**Last updated:** [February 27, 2018, 11:43am UTC](https://discourse.julialang.org/t/cant-create-animations/9363 "2018-02-27T11:43:25Z")

</div>

Hi guys, when I try the code from home page of plots: initialize the attractor n = 1500 dt = 0.02 σ, ρ, β = 10., 28., 8/3 x, y, z = 1., 1., 1. initialize a 3D plot with 1 empty series plt = path3d(1, xlim=(-25,25), …

---

## [Buglet in PDF installation deletion request notice](https://discourse.julialang.org/t/buglet-in-pdf-installation-deletion-request-notice/9243)

<div class="topic-metadata">

**Author:** [@ivo\_welch](https://discourse.julialang.org/u/ivo_welch)\
**Replies:** 2\
**Last updated:** [February 22, 2018, 7:50am UTC](https://discourse.julialang.org/t/buglet-in-pdf-installation-deletion-request-notice/9243 "2018-02-22T07:50:50Z")

</div>

JuliaPro 0.6.2.1 julia\> draw(PDF("loess.pdf", 3inch, 1.5inch), p) ERROR: Cairo and Fontconfig are necessary for the PDF backend. Run: Pkg.add("Cairo") Pkg.add("Fontconfig") You also have to delete /Applications/Jul…

---

## [Weird bug when plotting step function](https://discourse.julialang.org/t/weird-bug-when-plotting-step-function/9172)

<div class="topic-metadata">

**Author:** [@j2b2](https://discourse.julialang.org/u/j2b2)\
**Replies:** 7\
**Last updated:** [February 19, 2018, 5:40pm UTC](https://discourse.julialang.org/t/weird-bug-when-plotting-step-function/9172 "2018-02-19T17:40:09Z")

</div>

First I define two step functions: julia\> f(x)=floor(5x)-floor(2x)-floor(3x) f (generic function with 1 method) julia\> g(x)=f(2x)-f(x) g (generic function with 1 method) and then I plot g: julia\> using Plots julia\> gr…

---

## [Loess -- Gadfly -- SVG/PDF "False" Error](https://discourse.julialang.org/t/loess-gadfly-svg-pdf-false-error/9151)

<div class="topic-metadata">

**Author:** [@ivo\_welch](https://discourse.julialang.org/u/ivo_welch)\
**Replies:** 0\
**Last updated:** [February 18, 2018, 11:46pm UTC](https://discourse.julialang.org/t/loess-gadfly-svg-pdf-false-error/9151 "2018-02-18T23:46:29Z")

</div>

Dear Julia Experts— on macOS, julia 0.6.2, Feb 2018: using Loess xs = 10 .\* rand(100); ys = sin(xs) .+ 0.5 \* rand(100); model = loess(xs, ys); us = collect(minimum(xs):0.1:maximum(xs)) vs = predict(model, us) using Gad…

---

## [0.6.2 Histograms and Finding Good Packages For Plotting](https://discourse.julialang.org/t/0-6-2-histograms-and-finding-good-packages-for-plotting/9099)

<div class="topic-metadata">

**Author:** [@ivo\_welch](https://discourse.julialang.org/u/ivo_welch)\
**Replies:** 13\
**Last updated:** [February 18, 2018, 9:43pm UTC](https://discourse.julialang.org/t/0-6-2-histograms-and-finding-good-packages-for-plotting/9099 "2018-02-18T21:43:05Z")

</div>

dear julia experts—I am running into some issues with plotting simple histograms, as of mid-Feb 2018, julia 0.6.2, macOS. Yes, I did RTFMs. For example, I added Pkg.add("PyPlot"). Then I did 'using PyPlot, which led t…

---

## [Jg-plot\_v0.1 / simple julia - webGl passthrough](https://discourse.julialang.org/t/jg-plot-v0-1-simple-julia-webgl-passthrough/8768)

<div class="topic-metadata">

**Author:** [@y4lu](https://discourse.julialang.org/u/y4lu)\
**Replies:** 8\
**Last updated:** [February 17, 2018, 10:35am UTC](https://discourse.julialang.org/t/jg-plot-v0-1-simple-julia-webgl-passthrough/8768 "2018-02-17T10:35:44Z")

</div>

It’s pretty basic currently, just does 2d plots, but the potential is there for 3d animation etc size is 8Kb, most of which is the html / js / glsl getup https://nofile.io/f/Fzs8RKOa5Rx/jg\_plot.jl basic usage: jg\_plot…

---

## [Suggested minimal requirements for short-term plotting solution](https://discourse.julialang.org/t/suggested-minimal-requirements-for-short-term-plotting-solution/8877)

<div class="topic-metadata">

**Author:** [@jlperla](https://discourse.julialang.org/u/jlperla)\
**Replies:** 38\
**Last updated:** [February 8, 2018, 3:10am UTC](https://discourse.julialang.org/t/suggested-minimal-requirements-for-short-term-plotting-solution/8877 "2018-02-08T03:10:21Z")

</div>

For consideration (as discussed on Slack), here is a proposed list of requirements to try to find the best short-term (i.e. until stabilization of Makie/Plots/etc.) solution for teaching plotting for new users, students, …

---

## [An illustration of Julia's beautiful design via truncated normal plots using StatsPlot.jl and Distributions.jl](https://discourse.julialang.org/t/an-illustration-of-julias-beautiful-design-via-truncated-normal-plots-using-statsplot-jl-and-distributions-jl/8876)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 0\
**Last updated:** [February 6, 2018, 10:58pm UTC](https://discourse.julialang.org/t/an-illustration-of-julias-beautiful-design-via-truncated-normal-plots-using-statsplot-jl-and-distributions-jl/8876 "2018-02-06T22:58:10Z")

</div>

I was going to give a talk on a topic involving truncated normal distributions and I decided to write it in Julia. I googled how to do a density plot and quickly found an example for plotting the density of a normal func…

---

## [Linking axes](https://discourse.julialang.org/t/linking-axes/8633)

<div class="topic-metadata">

**Author:** [@airpmb](https://discourse.julialang.org/u/airpmb)\
**Replies:** 8\
**Last updated:** [January 29, 2018, 11:01pm UTC](https://discourse.julialang.org/t/linking-axes/8633 "2018-01-29T23:01:07Z")

</div>

Do any of the plotting packages for Julia support linking the axes of plots, as well as interactive zooming/panning? I’ve found mention (though not in docs, only in GitHub issues) of a link kwarg in Plots.jl, but it didn…

---

## [Text in figure using PyPlot](https://discourse.julialang.org/t/text-in-figure-using-pyplot/1337)

<div class="topic-metadata">

**Author:** [@chobbes](https://discourse.julialang.org/u/chobbes)\
**Replies:** 7\
**Last updated:** [January 17, 2018, 5:33am UTC](https://discourse.julialang.org/t/text-in-figure-using-pyplot/1337 "2018-01-17T05:33:27Z")

</div>

I’m trying to add some text in a figure made by PyPlot. It seems that the matplotlib command text doesn’t work in PyPlot. So annotate is the only option? Another question is how to have the in-figure texts tilted/rotate…

---

## [Plots units of measure](https://discourse.julialang.org/t/plots-units-of-measure/8323)

<div class="topic-metadata">

**Author:** [@bbrunaud](https://discourse.julialang.org/u/bbrunaud)\
**Replies:** 2\
**Last updated:** [January 12, 2018, 9:04pm UTC](https://discourse.julialang.org/t/plots-units-of-measure/8323 "2018-01-12T21:04:49Z")

</div>

Hello I had a plot code using margins that was working correctly. I started getting the following error plot(pl1,pl2,layout=grid(2,1,heights=\[0.7,0.2\]),size=(800,400),left\_margin=10) MethodError: no method matching +(…

---

## [\[ANN\]: Gaston v0.7.0 - Plotting using gnuplot](https://discourse.julialang.org/t/ann-gaston-v0-7-0-plotting-using-gnuplot/8063)

<div class="topic-metadata">

**Author:** [@mbaz](https://discourse.julialang.org/u/mbaz)\
**Replies:** 2\
**Last updated:** [January 6, 2018, 2:09pm UTC](https://discourse.julialang.org/t/ann-gaston-v0-7-0-plotting-using-gnuplot/8063 "2018-01-06T14:09:03Z")

</div>

Sorry for the duplicate information, but I thought some people may be interested in this and do not follow Community. There’s a new version of the Gaston plotting package; the full announcement is here.

---

## [Discussion: OpenGL](https://discourse.julialang.org/t/discussion-opengl/8044)

<div class="topic-metadata">

**Author:** [@louisponet](https://discourse.julialang.org/u/louisponet)\
**Replies:** 11\
**Last updated:** [December 31, 2017, 7:54pm UTC](https://discourse.julialang.org/t/discussion-opengl/8044 "2017-12-31T19:54:30Z")

</div>

Hi everyone, I would like to open up a discussion with the topic OpenGL, following some considerations made in GLAbstraction.jl issue #87. The situation with all but the core of the julia OpenGL stack is rather non-ide…

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

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