# Specific Domains

**URL:** https://discourse.julialang.org/c/domain/10.md?page=526

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

**Page:** 527

---

## [Plots.jl: interrogating Plot](https://discourse.julialang.org/t/plots-jl-interrogating-plot/15038)

<div class="topic-metadata">

**Author:** [@iwelch](https://discourse.julialang.org/u/iwelch)\
**Replies:** 0\
**Last updated:** [September 16, 2018, 11:26pm UTC](https://discourse.julialang.org/t/plots-jl-interrogating-plot/15038 "2018-09-16T23:26:17Z")

</div>

Dear Plots experts—I want to write a function that calculates the native slope between two points, so that I can put a label there with the same angle. So, I need to find out, from the plot object, what the four corners…

---

## [Some feedback while waiting for pmap](https://discourse.julialang.org/t/some-feedback-while-waiting-for-pmap/14970)

<div class="topic-metadata">

**Author:** [@turtle](https://discourse.julialang.org/u/turtle)\
**Replies:** 9\
**Last updated:** [September 16, 2018, 10:24am UTC](https://discourse.julialang.org/t/some-feedback-while-waiting-for-pmap/14970 "2018-09-16T10:24:03Z")

</div>

I am running a long calculation distributed on several workers and several computers: output = pmap( i-\>iter(i,parameters), 1:1000 ) While waiting I would like to know which i is being processed. How can I get this s…

---

## [ControlSystems -- root locus, etc.?](https://discourse.julialang.org/t/controlsystems-root-locus-etc/14706)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 14\
**Last updated:** [September 15, 2018, 3:36pm UTC](https://discourse.julialang.org/t/controlsystems-root-locus-etc/14706 "2018-09-15T15:36:53Z")

</div>

I was just playing around with the ControlSystems package. One question and one observation… Q: is there a function for plotting root locus? Of course, it is easy to do this in a for loop, but if there is a function, my…

---

## [Plot drifts as focus in/out of the window](https://discourse.julialang.org/t/plot-drifts-as-focus-in-out-of-the-window/14752)

<div class="topic-metadata">

**Author:** [@LeoK987](https://discourse.julialang.org/u/LeoK987)\
**Replies:** 1\
**Last updated:** [September 15, 2018, 4:50am UTC](https://discourse.julialang.org/t/plot-drifts-as-focus-in-out-of-the-window/14752 "2018-09-15T04:50:58Z")

</div>

$ julia \_ \_ \_ \_(\_)\_ | Documentation: https://docs.julialang.org (\_) | (\_) (\_) | \_ \_ \_| |\_ \_\_ \_ | Type "?" for help, "\]?" for Pkg help. | | | | | | |/ \_\` | | | | |\_| | |…

---

## [DataFrames.jl - Choosing between the core functions and available libraries (Query.jl, DataFramesMeta.jl, etc)](https://discourse.julialang.org/t/dataframes-jl-choosing-between-the-core-functions-and-available-libraries-query-jl-dataframesmeta-jl-etc/14938)

<div class="topic-metadata">

**Author:** [@mdsalerno](https://discourse.julialang.org/u/mdsalerno)\
**Replies:** 10\
**Last updated:** [September 15, 2018, 12:00am UTC](https://discourse.julialang.org/t/dataframes-jl-choosing-between-the-core-functions-and-available-libraries-query-jl-dataframesmeta-jl-etc/14938 "2018-09-15T00:00:57Z")

</div>

In addition to the core functions in DataFrames.jl, I have come across libraries such as Query.jl and DataFramesMeta.jl which provide general querying and manipulation of DataFrames. Are there compelling reasons to use …

---

## [Announcement: Knet-1.1.0 and AutoGrad-1.1.0 have been released with callable object support](https://discourse.julialang.org/t/announcement-knet-1-1-0-and-autograd-1-1-0-have-been-released-with-callable-object-support/14913)

<div class="topic-metadata">

**Author:** [@denizyuret](https://discourse.julialang.org/u/denizyuret)\
**Replies:** 9\
**Last updated:** [September 14, 2018, 7:50pm UTC](https://discourse.julialang.org/t/announcement-knet-1-1-0-and-autograd-1-1-0-have-been-released-with-callable-object-support/14913 "2018-09-14T19:50:49Z")

</div>

I added support for the Flux style of defining models/layers as callable objects. struct Linear; w; b; end (m::Linear)(x) = m.w \* x .+ m.b This way a model/layer acts as a (predict) function as well as a collection of…

---

## [Beta Gadfly available for 1.0](https://discourse.julialang.org/t/beta-gadfly-available-for-1-0/14949)

<div class="topic-metadata">

**Author:** [@bjarthur](https://discourse.julialang.org/u/bjarthur)\
**Replies:** 4\
**Last updated:** [September 14, 2018, 2:43pm UTC](https://discourse.julialang.org/t/beta-gadfly-available-for-1-0/14949 "2018-09-14T14:43:09Z")

</div>

before tagging a release we’d like to get feedback from field testers to see if there are any issues. please checkout the master branch of both Gadfly and Compose.

---

## [Plotting 3D bar graph](https://discourse.julialang.org/t/plotting-3d-bar-graph/12735)

<div class="topic-metadata">

**Author:** [@muriloasouza](https://discourse.julialang.org/u/muriloasouza)\
**Replies:** 7\
**Last updated:** [September 14, 2018, 7:22am UTC](https://discourse.julialang.org/t/plotting-3d-bar-graph/12735 "2018-09-14T07:22:41Z")

</div>

Hello, is there anyway i can plot a 3D bar graph with using StatPlots? Like this one: In this case, i got a 17x25 matrix. If thats not possible, wich package can do it?

---

## [Adding JuMP variable via list of tuples (Specify dimensions using tuples)](https://discourse.julialang.org/t/adding-jump-variable-via-list-of-tuples-specify-dimensions-using-tuples/14867)

<div class="topic-metadata">

**Author:** [@skam](https://discourse.julialang.org/u/skam)\
**Replies:** 1\
**Last updated:** [September 14, 2018, 4:05am UTC](https://discourse.julialang.org/t/adding-jump-variable-via-list-of-tuples-specify-dimensions-using-tuples/14867 "2018-09-14T04:05:12Z")

</div>

Hi, I was wondering whether there is a smart solution for adding variables with “nonsquare” dimensions. A minimal example: using JuMP testset=\[("a","b"), ("c","d")\] indices=\["a","b","c","d"\] m = Model() v=@variable…

---

## [JuMP: AffExpr error](https://discourse.julialang.org/t/jump-affexpr-error/14921)

<div class="topic-metadata">

**Author:** [@jacob-roth](https://discourse.julialang.org/u/jacob-roth)\
**Replies:** 2\
**Last updated:** [September 13, 2018, 11:21pm UTC](https://discourse.julialang.org/t/jump-affexpr-error/14921 "2018-09-13T23:21:28Z")

</div>

I’m using Julia v0.6.4 on Ubuntu (14.04) and am getting an affine expression error in the following toy model: using JuMP using Ipopt model = Model(solver=IpoptSolver()) ## params N = 5 idx1 = \[1, 2\] idx2 = \[5, 4\] ##…

---

## [Suggestions for styling Julia/JuMP code in a Latex?](https://discourse.julialang.org/t/suggestions-for-styling-julia-jump-code-in-a-latex/6269)

<div class="topic-metadata">

**Author:** [@ccoffrin](https://discourse.julialang.org/u/ccoffrin)\
**Replies:** 6\
**Last updated:** [September 13, 2018, 7:30pm UTC](https://discourse.julialang.org/t/suggestions-for-styling-julia-jump-code-in-a-latex/6269 "2018-09-13T19:30:42Z")

</div>

Are there any suggestions around how to best style Julia/JuMP code in Latex?

---

## [How to generate graph?](https://discourse.julialang.org/t/how-to-generate-graph/14911)

<div class="topic-metadata">

**Author:** [@RaquelSantos](https://discourse.julialang.org/u/RaquelSantos)\
**Replies:** 6\
**Last updated:** [September 13, 2018, 7:06pm UTC](https://discourse.julialang.org/t/how-to-generate-graph/14911 "2018-09-13T19:06:20Z")

</div>

How to generate graph of a mathematical model? I’ve already tried using PyPlot, and I still could not. using JuMP, Cbc m = Model(solver = CbcSolver()) #Declaração das variáveis @defVar(m, x1 \>= 0) @defVar(m, x2 \>= 0)…

---

## [Large dataframe. fast row selection](https://discourse.julialang.org/t/large-dataframe-fast-row-selection/14849)

<div class="topic-metadata">

**Author:** [@grandemundo82](https://discourse.julialang.org/u/grandemundo82)\
**Replies:** 5\
**Last updated:** [September 13, 2018, 5:49pm UTC](https://discourse.julialang.org/t/large-dataframe-fast-row-selection/14849 "2018-09-13T17:49:23Z")

</div>

I have a very large dataframe and would like to know the fastest way to select a subset of rows. I tried Query package. It is elegant but really slow compared to ugly/brute force solution. Any hints? Thank you. Much appr…

---

## [Plots.jl : Some Odd Attribute Behavior](https://discourse.julialang.org/t/plots-jl-some-odd-attribute-behavior/14786)

<div class="topic-metadata">

**Author:** [@iwelch](https://discourse.julialang.org/u/iwelch)\
**Replies:** 8\
**Last updated:** [September 13, 2018, 3:40pm UTC](https://discourse.julialang.org/t/plots-jl-some-odd-attribute-behavior/14786 "2018-09-13T15:40:22Z")

</div>

macos, julia 1.0.0. julia\> using Plots; x= 1:0.1:10; Y= \[ sin.(x), cos.(x) \]; julia\> plot( x, Y, tickfontrotation=50 ) julia\> savefig("tickfontrotation.png") I am looking the output of the above, and commands like ti…

---

## [Package use, CUDA stream support, etc](https://discourse.julialang.org/t/package-use-cuda-stream-support-etc/14868)

<div class="topic-metadata">

**Author:** [@drinkwell](https://discourse.julialang.org/u/drinkwell)\
**Replies:** 5\
**Last updated:** [September 13, 2018, 2:59pm UTC](https://discourse.julialang.org/t/package-use-cuda-stream-support-etc/14868 "2018-09-13T14:59:02Z")

</div>

Hi, I’m just starting to think about writing some Julia GPU code and am trying to bottom out a few things so would appreciate some pointers. First off, what are the currently preferred packages to use? I’ve Nvidia hard…

---

## [Single value in DataFrame-structure](https://discourse.julialang.org/t/single-value-in-dataframe-structure/14904)

<div class="topic-metadata">

**Author:** [@sebastianskejoe](https://discourse.julialang.org/u/sebastianskejoe)\
**Replies:** 2\
**Last updated:** [September 13, 2018, 12:47pm UTC](https://discourse.julialang.org/t/single-value-in-dataframe-structure/14904 "2018-09-13T12:47:16Z")

</div>

I use a variable v to index one or more columns of a DataFrame. Sometimes v is a Symbol and sometimes v is an array of symbols. Is there a single syntax to always return the value(s) in a DataFrame-structure, even when v …

---

## [Flux four errors in Julia v0.7 none in v0.6.4](https://discourse.julialang.org/t/flux-four-errors-in-julia-v0-7-none-in-v0-6-4/14793)

<div class="topic-metadata">

**Author:** [@hskramer](https://discourse.julialang.org/u/hskramer)\
**Replies:** 1\
**Last updated:** [September 13, 2018, 5:48am UTC](https://discourse.julialang.org/t/flux-four-errors-in-julia-v0-7-none-in-v0-6-4/14793 "2018-09-13T05:48:01Z")

</div>

I’m starting my migration from v0.6.4 and when testing Flux it had four errors all related to to cudnn.jl with same message “Got exception ErrorException(“scalar getindex is disabled”) outside of a @test” . I tested all…

---

## [Missing or NaN Data in GLM (e.g., in DataFrame, @formula)](https://discourse.julialang.org/t/missing-or-nan-data-in-glm-e-g-in-dataframe-formula/14783)

<div class="topic-metadata">

**Author:** [@iwelch](https://discourse.julialang.org/u/iwelch)\
**Replies:** 10\
**Last updated:** [September 12, 2018, 2:26pm UTC](https://discourse.julialang.org/t/missing-or-nan-data-in-glm-e-g-in-dataframe-formula/14783 "2018-09-12T14:26:29Z")

</div>

If a series contains missing or NaN values, R will ignore the missing observations in its lm command. This is convenient when one runs different models, which have different observations due to variations in whether the…

---

## [Calling Julia from HPC code](https://discourse.julialang.org/t/calling-julia-from-hpc-code/14680)

<div class="topic-metadata">

**Author:** [@nurban](https://discourse.julialang.org/u/nurban)\
**Replies:** 3\
**Last updated:** [September 11, 2018, 7:05pm UTC](https://discourse.julialang.org/t/calling-julia-from-hpc-code/14680 "2018-09-11T19:05:22Z")

</div>

I’m interested in the possibility of writing Julia functions as subroutines that can be invoked from a modern HPC code (i.e. something written in Fortran or C++, often with a compiler tuned to a specific supercomputer ar…

---

## [Computing eigenvalues/eigenvectors using GPU?](https://discourse.julialang.org/t/computing-eigenvalues-eigenvectors-using-gpu/12396)

<div class="topic-metadata">

**Author:** [@Noel\_Araujo](https://discourse.julialang.org/u/Noel_Araujo)\
**Replies:** 9\
**Last updated:** [September 11, 2018, 6:14pm UTC](https://discourse.julialang.org/t/computing-eigenvalues-eigenvectors-using-gpu/12396 "2018-09-11T18:14:29Z")

</div>

Hi everyone I have a Vega RX 64 and I would like to speed up eigenvalues decomposition on it. Does anybody know a (simple) solution with Julia ?

---

## [Syntactical Question about optimize](https://discourse.julialang.org/t/syntactical-question-about-optimize/14771)

<div class="topic-metadata">

**Author:** [@OvidiusCicero](https://discourse.julialang.org/u/OvidiusCicero)\
**Replies:** 3\
**Last updated:** [September 11, 2018, 1:55pm UTC](https://discourse.julialang.org/t/syntactical-question-about-optimize/14771 "2018-09-11T13:55:23Z")

</div>

Hi, someone not knowing much about optimization here… Why does this code searching for the minimum of the two-dimensional paraboloid optimize(x-\>x\[1\]^2+x\[2\]^2,\[1.0, 1.0\]) work without given algorithm whilst this one-d…

---

## [CUDAnative question: "recursion not currently supported error" when running reduce.jl example](https://discourse.julialang.org/t/cudanative-question-recursion-not-currently-supported-error-when-running-reduce-jl-example/14776)

<div class="topic-metadata">

**Author:** [@MeBlueDolphin](https://discourse.julialang.org/u/MeBlueDolphin)\
**Replies:** 1\
**Last updated:** [September 11, 2018, 7:57am UTC](https://discourse.julialang.org/t/cudanative-question-recursion-not-currently-supported-error-when-running-reduce-jl-example/14776 "2018-09-11T07:57:05Z")

</div>

I am trying to run your “reduce.jl” example with julia 0.7.0 on my PC laptop which has the 940MX card. I am getting the following “recursion not supported error:” julia\> include(“verify\_reduce.jl”) ERROR: LoadError: GP…

---

## [Use Dynamic Arrays (Vectors) during Multi-threading](https://discourse.julialang.org/t/use-dynamic-arrays-vectors-during-multi-threading/14759)

<div class="topic-metadata">

**Author:** [@SohamTamb](https://discourse.julialang.org/u/SohamTamb)\
**Replies:** 7\
**Last updated:** [September 10, 2018, 11:50pm UTC](https://discourse.julialang.org/t/use-dynamic-arrays-vectors-during-multi-threading/14759 "2018-09-10T23:50:16Z")

</div>

Consider a situation where each thread is performing push! on a unique vector. i.e. no 2 threads can edit the same vector. This can cause a race condition because push! can invoke memory reallocation. If 2 different t…

---

## [Incomplete Attribute Docs for Plots.jl](https://discourse.julialang.org/t/incomplete-attribute-docs-for-plots-jl/14779)

<div class="topic-metadata">

**Author:** [@iwelch](https://discourse.julialang.org/u/iwelch)\
**Replies:** 2\
**Last updated:** [September 10, 2018, 8:27pm UTC](https://discourse.julialang.org/t/incomplete-attribute-docs-for-plots-jl/14779 "2018-09-10T20:27:00Z")

</div>

I am looking at plotattr(). I understand many but not all attributes. The docs in Overview · Plots are not complete (e.g., for Plots, it is link, overwrite\_figure, pos, show, size, thickness\_scaling, window\_title). So…

---

## [Windows 10 + Linux working together](https://discourse.julialang.org/t/windows-10-linux-working-together/14727)

<div class="topic-metadata">

**Author:** [@turtle](https://discourse.julialang.org/u/turtle)\
**Replies:** 3\
**Last updated:** [September 9, 2018, 7:46pm UTC](https://discourse.julialang.org/t/windows-10-linux-working-together/14727 "2018-09-09T19:46:54Z")

</div>

I have two computers, one running Windows 10 and the other running Ubuntu 14.04, both with the same version of the language: Julia 0.7.0. I would like to combine the computing power of the two computers, and control a…

---

## [Is it possible to make something like TrueSkill with ForneyLab.jl?](https://discourse.julialang.org/t/is-it-possible-to-make-something-like-trueskill-with-forneylab-jl/14553)

<div class="topic-metadata">

**Author:** [@Lemniscate](https://discourse.julialang.org/u/Lemniscate)\
**Replies:** 2\
**Last updated:** [September 9, 2018, 7:36pm UTC](https://discourse.julialang.org/t/is-it-possible-to-make-something-like-trueskill-with-forneylab-jl/14553 "2018-09-09T19:36:37Z")

</div>

I’ve been trying to use ForneyLab.jl to run inference (using the sum-product algorithm and expectation propagation) for TrueSkill. I’ve run into a few issues: How can I add an indicator function (i.e. set y=+1 if d\>0 …

---

## [Is there a package implementing the Box and Cox (1964) method for transforming data?](https://discourse.julialang.org/t/is-there-a-package-implementing-the-box-and-cox-1964-method-for-transforming-data/14024)

<div class="topic-metadata">

**Author:** [@jjlynch](https://discourse.julialang.org/u/jjlynch)\
**Replies:** 5\
**Last updated:** [September 9, 2018, 6:33pm UTC](https://discourse.julialang.org/t/is-there-a-package-implementing-the-box-and-cox-1964-method-for-transforming-data/14024 "2018-09-09T18:33:09Z")

</div>

HI, I’m new to Julia and looking to convert some of my workflow. I was wondering if there is an implementation of the maximum likelihood-like approach of Box and Cox (1964)?

---

## [Applying function to DataFrame with missing values in columns?](https://discourse.julialang.org/t/applying-function-to-dataframe-with-missing-values-in-columns/14700)

<div class="topic-metadata">

**Author:** [@onetonfoot](https://discourse.julialang.org/u/onetonfoot)\
**Replies:** 3\
**Last updated:** [September 9, 2018, 11:44am UTC](https://discourse.julialang.org/t/applying-function-to-dataframe-with-missing-values-in-columns/14700 "2018-09-09T11:44:17Z")

</div>

Let say I’ve got a data frame like this: df = DataFrame(:x =\> \[1 ,3, missing\], :y =\> \["Some ascii text" ,"Some chinese text 恒基",missing\]) In simple cases, map seems to do what I want and just ignores/returns the missin…

---

## [How to move the legend around in a groupedbar plot and make the bars black and white](https://discourse.julialang.org/t/how-to-move-the-legend-around-in-a-groupedbar-plot-and-make-the-bars-black-and-white/14516)

<div class="topic-metadata">

**Author:** [@mohamed82008](https://discourse.julialang.org/u/mohamed82008)\
**Replies:** 11\
**Last updated:** [September 9, 2018, 5:06am UTC](https://discourse.julialang.org/t/how-to-move-the-legend-around-in-a-groupedbar-plot-and-make-the-bars-black-and-white/14516 "2018-09-09T05:06:36Z")

</div>

So I am trying to draw a grouped bar chart with the legend on the top right corner but not overlapping the chart. The closest thing to what I want is the groupedbar from StatPlots. The problem is that currently the chart…

---

## [Help with data movement and commuication](https://discourse.julialang.org/t/help-with-data-movement-and-commuication/14672)

<div class="topic-metadata">

**Author:** [@bbrunaud](https://discourse.julialang.org/u/bbrunaud)\
**Replies:** 1\
**Last updated:** [September 8, 2018, 5:37am UTC](https://discourse.julialang.org/t/help-with-data-movement-and-commuication/14672 "2018-09-08T05:37:09Z")

</div>

Hello, I’ve been struggling for a long time with an apparently simple problem. Given a graph data structure with nodes inside I want to apply a function to each node that shares information across nodes and modifies the…

[Previous page](https://discourse.julialang.org/c/domain/10.md?page=525)

[Next page](https://discourse.julialang.org/c/domain/10.md?page=527)
