# Specific Domains

**URL:** https://discourse.julialang.org/c/domain/10.md?no_subcategories=false&page=283

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

**Page:** 284

---

## [Gadfly and custom group colors](https://discourse.julialang.org/t/gadfly-and-custom-group-colors/80566)

<div class="topic-metadata">

**Author:** [@gjh](https://discourse.julialang.org/u/gjh)\
**Replies:** 1\
**Last updated:** [May 6, 2022, 12:04am UTC](https://discourse.julialang.org/t/gadfly-and-custom-group-colors/80566 "2022-05-06T00:04:12Z")

</div>

using Gadfly, DataFrames x=\[1,2,3,4,5,6\] y=\[6,5,4,3,2,1\] group=\[“a”, “b”, “a”, “b”,“a”, “b”\] df=DataFrame(x=x, y=y, group=group) Gadfly.plot(df, x=:x, y=:y, color=:group, Geom.point, Theme(background\_color=“ghos…

---

## [DC load flow constraint](https://discourse.julialang.org/t/dc-load-flow-constraint/80564)

<div class="topic-metadata">

**Author:** [@mbah](https://discourse.julialang.org/u/mbah)\
**Replies:** 2\
**Last updated:** [May 5, 2022, 10:19pm UTC](https://discourse.julialang.org/t/dc-load-flow-constraint/80564 "2022-05-05T22:19:50Z")

</div>

Hello, I am trying to fit in a DC load flow equation into my zonal dispatch model without much success. #using DataFrames, JuMp generators = DataFrame(index = \["conventional\_gas", "conventional\_nuc", "West\_A\_Wind", "…

---

## [Renewable generation constraint](https://discourse.julialang.org/t/renewable-generation-constraint/80526)

<div class="topic-metadata">

**Author:** [@mbah](https://discourse.julialang.org/u/mbah)\
**Replies:** 4\
**Last updated:** [May 5, 2022, 11:20am UTC](https://discourse.julialang.org/t/renewable-generation-constraint/80526 "2022-05-05T11:20:20Z")

</div>

Hello all, I have posted an earlier question on coding renewable generation constraints with availability factors. I am still stuck with the problem. I have reverted back to bare basics, but i still receive keyErrors. A…

---

## [CUDA.jl bimodal SpMM performance](https://discourse.julialang.org/t/cuda-jl-bimodal-spmm-performance/80499)

<div class="topic-metadata">

**Author:** [@miles.lubin](https://discourse.julialang.org/u/miles.lubin)\
**Replies:** 1\
**Last updated:** [May 5, 2022, 9:50am UTC](https://discourse.julialang.org/t/cuda-jl-bimodal-spmm-performance/80499 "2022-05-05T09:50:08Z")

</div>

New to CUDA.jl here, and I’m running a few benchmarks to understand CUDA’s performance on sparse matrices. I observed that SpMM (sparse matrix times dense matrix) seems to have a bimodal histogram when benchmarked: usin…

---

## [Custom simplifying of ModelingToolkit ODESystem equations](https://discourse.julialang.org/t/custom-simplifying-of-modelingtoolkit-odesystem-equations/80531)

<div class="topic-metadata">

**Author:** [@jedforrest](https://discourse.julialang.org/u/jedforrest)\
**Replies:** 1\
**Last updated:** [May 5, 2022, 9:40am UTC](https://discourse.julialang.org/t/custom-simplifying-of-modelingtoolkit-odesystem-equations/80531 "2022-05-05T09:40:16Z")

</div>

When converting my ODESystem into an ODEProblem to be solved, I find that the full equations are not simplified enough, leading to numerical errors. In particular, one part of the equations looks like this: Differential…

---

## [Help with range plot with VegaLite.jl](https://discourse.julialang.org/t/help-with-range-plot-with-vegalite-jl/80462)

<div class="topic-metadata">

**Author:** [@amrods](https://discourse.julialang.org/u/amrods)\
**Replies:** 2\
**Last updated:** [May 4, 2022, 8:20am UTC](https://discourse.julialang.org/t/help-with-range-plot-with-vegalite-jl/80462 "2022-05-04T08:20:24Z")

</div>

I’m having trouble creating a range plot with VegaLite.jl (similar to this How to create a range plot - Datawrapper Academy, but with the ranges orientated vertically). I just need a simple line connecting ul to ll for e…

---

## [Does anyone run Singularity images across many Nodes?](https://discourse.julialang.org/t/does-anyone-run-singularity-images-across-many-nodes/60470)

<div class="topic-metadata">

**Author:** [@Noel\_Araujo](https://discourse.julialang.org/u/Noel_Araujo)\
**Replies:** 2\
**Last updated:** [May 4, 2022, 10:07pm UTC](https://discourse.julialang.org/t/does-anyone-run-singularity-images-across-many-nodes/60470 "2022-05-04T22:07:04Z")

</div>

As I point out in here, I wish to connect ClusterManagers.jl using Singularity images, but as @kescobo says, the problem seems to be Singularity or my Cluster configuration. Does anyone already have experience running a…

---

## [Inconsistent results between Yao and Qiskit](https://discourse.julialang.org/t/inconsistent-results-between-yao-and-qiskit/63363)

<div class="topic-metadata">

**Author:** [@rmedinar](https://discourse.julialang.org/u/rmedinar)\
**Replies:** 4\
**Last updated:** [May 4, 2022, 3:27pm UTC](https://discourse.julialang.org/t/inconsistent-results-between-yao-and-qiskit/63363 "2022-05-04T15:27:56Z")

</div>

Hi everyone. I have been trying to simulate the growth of entanglement entropy in random unitary circuits using Yao for a while now. When comparing with old results from my Qiskit code I found out about some inconsistenc…

---

## [Computing a linear combination of all reduced density matrices of a given pure state](https://discourse.julialang.org/t/computing-a-linear-combination-of-all-reduced-density-matrices-of-a-given-pure-state/72070)

<div class="topic-metadata">

**Author:** [@rmedinar](https://discourse.julialang.org/u/rmedinar)\
**Replies:** 10\
**Last updated:** [May 4, 2022, 3:25pm UTC](https://discourse.julialang.org/t/computing-a-linear-combination-of-all-reduced-density-matrices-of-a-given-pure-state/72070 "2022-05-04T15:25:09Z")

</div>

Hi all! I have been struggling for a while on the following calculation: (For the simulations, I’m using Yao) Imagine you are given a pure state \\psi of N qubits. And you want to compute where A runs over all subreg…

---

## [Contour\_labels absent when scale=:log10 in GR](https://discourse.julialang.org/t/contour-labels-absent-when-scale-log10-in-gr/80458)

<div class="topic-metadata">

**Author:** [@bcon](https://discourse.julialang.org/u/bcon)\
**Replies:** 2\
**Last updated:** [May 4, 2022, 10:09am UTC](https://discourse.julialang.org/t/contour-labels-absent-when-scale-log10-in-gr/80458 "2022-05-04T10:09:48Z")

</div>

I can’t get GR to draw contour\_labels when axes are log-scaled: using Plots using FileIO x = 1:0.5:20 y = 1:0.5:10 f(x, y) = (3x + y ^ 2) \* abs(sin(x) + cos(y)) pyplot() p1 = contour(x, y, f, fill=false, scale=:…

---

## [Changing size of markers in legend with Plots](https://discourse.julialang.org/t/changing-size-of-markers-in-legend-with-plots/15520)

<div class="topic-metadata">

**Author:** [@akazachk](https://discourse.julialang.org/u/akazachk)\
**Replies:** 1\
**Last updated:** [May 4, 2022, 9:35am UTC](https://discourse.julialang.org/t/changing-size-of-markers-in-legend-with-plots/15520 "2022-05-04T09:35:57Z")

</div>

Hi everyone, I am on v1, plotting with Plots (and the GR backed). I know that I can change the size of markers with markersize in my plot, but I can’t seem to find a way to change the size within the legend. The markers …

---

## [How does the \`camera\` attribute of \`plot\` work?](https://discourse.julialang.org/t/how-does-the-camera-attribute-of-plot-work/22139)

<div class="topic-metadata">

**Author:** [@adityam](https://discourse.julialang.org/u/adityam)\
**Replies:** 1\
**Last updated:** [May 4, 2022, 9:13am UTC](https://discourse.julialang.org/t/how-does-the-camera-attribute-of-plot-work/22139 "2022-05-04T09:13:42Z")

</div>

I am trying to understand how the camera attribute of plots works? The documentation says Sets the view angle (azimuthal, elevation) for 3D plots but I fail to visualize how I can set the view angle by specifying two…

---

## [SimpleChains.jl extension to Graph Neural Networks](https://discourse.julialang.org/t/simplechains-jl-extension-to-graph-neural-networks/80422)

<div class="topic-metadata">

**Author:** [@DoktorMike](https://discourse.julialang.org/u/DoktorMike)\
**Replies:** 2\
**Last updated:** [May 4, 2022, 1:25am UTC](https://discourse.julialang.org/t/simplechains-jl-extension-to-graph-neural-networks/80422 "2022-05-04T01:25:47Z")

</div>

So yesterday I attended the Copenhagen julia meetup and saw a new Neural network toolbox called SimpleChains.jl which aims to be fast for small neural networks basically. Often Graph Neural Networks are also quite small …

---

## [Installation of some packages fail](https://discourse.julialang.org/t/installation-of-some-packages-fail/80413)

<div class="topic-metadata">

**Author:** [@jasperbos](https://discourse.julialang.org/u/jasperbos)\
**Replies:** 4\
**Last updated:** [May 3, 2022, 7:40pm UTC](https://discourse.julialang.org/t/installation-of-some-packages-fail/80413 "2022-05-03T19:40:43Z")

</div>

Hi all, I just fired up Julia for the first time. My goal is to use the JEMSS package for research purposes. However, as I try to install it with pkg\> add https://github.com/uoa-ems-research/JEMSS.jl Cgl\_jll, Cbc\_jll, …

---

## [Feedback before TableTransforms.jl v1.0](https://discourse.julialang.org/t/feedback-before-tabletransforms-jl-v1-0/80297)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 2\
**Last updated:** [May 3, 2022, 4:33pm UTC](https://discourse.julialang.org/t/feedback-before-tabletransforms-jl-v1-0/80297 "2022-05-03T16:33:06Z")

</div>

TableTransforms.jl is ready for a first major release and we would like to ask the community for feedback before moving forward with the registration of v1.0. The API is quite stable and we managed to add various transfo…

---

## [Loading packages to the freshly added processes](https://discourse.julialang.org/t/loading-packages-to-the-freshly-added-processes/80434)

<div class="topic-metadata">

**Author:** [@Gregstrq](https://discourse.julialang.org/u/Gregstrq)\
**Replies:** 3\
**Last updated:** [May 3, 2022, 5:49pm UTC](https://discourse.julialang.org/t/loading-packages-to-the-freshly-added-processes/80434 "2022-05-03T17:49:07Z")

</div>

I am trying to write the function that launches multithreaded processes and then pins the threads to the core. The stripped down version looks like using Distributed, ThreadPinning function add\_pinned\_workers(nw::Int, …

---

## [Julia expression to AbstractTree-like structure in Symbolics](https://discourse.julialang.org/t/julia-expression-to-abstracttree-like-structure-in-symbolics/80289)

<div class="topic-metadata">

**Author:** [@mbesancon](https://discourse.julialang.org/u/mbesancon)\
**Replies:** 2\
**Last updated:** [April 30, 2022, 7:27pm UTC](https://discourse.julialang.org/t/julia-expression-to-abstracttree-like-structure-in-symbolics/80289 "2022-04-30T19:27:10Z")

</div>

I was looking at the different possibilities for Expr to tree-like structure in Julia and thought of the Symbolics ecosystem as the natural modern place for it I found an old post and GitHub - dfdx/Espresso.jl: Expressi…

---

## [Bayesian model comparison / selection](https://discourse.julialang.org/t/bayesian-model-comparison-selection/80420)

<div class="topic-metadata">

**Author:** [@uferc](https://discourse.julialang.org/u/uferc)\
**Replies:** 3\
**Last updated:** [May 3, 2022, 2:40pm UTC](https://discourse.julialang.org/t/bayesian-model-comparison-selection/80420 "2022-05-03T14:40:20Z")

</div>

Hello everyone, my question revolves around the topic of Bayesian model comparison and henceforce selection. I’ve build 3 alternative models (each NUTS(0.65), 4 chains, 8000 draws) and fit my data with the Turing.jl li…

---

## [Flux normalization and regularisation](https://discourse.julialang.org/t/flux-normalization-and-regularisation/79925)

<div class="topic-metadata">

**Author:** [@Aminath\_Shausan](https://discourse.julialang.org/u/Aminath_Shausan)\
**Replies:** 7\
**Last updated:** [May 3, 2022, 2:34pm UTC](https://discourse.julialang.org/t/flux-normalization-and-regularisation/79925 "2022-05-03T14:34:00Z")

</div>

Hi I am using a Flux model for regression with L1 regularization like below: model = Chain(Dense(size(X\_train,1),254, relu), Dense(254, 254, relu), Dense(254, 1,identity)) losses =\[\] l1n…

---

## [Plot model stability region depending on parameters](https://discourse.julialang.org/t/plot-model-stability-region-depending-on-parameters/79584)

<div class="topic-metadata">

**Author:** [@Sciemon](https://discourse.julialang.org/u/Sciemon)\
**Replies:** 8\
**Last updated:** [May 3, 2022, 10:23am UTC](https://discourse.julialang.org/t/plot-model-stability-region-depending-on-parameters/79584 "2022-05-03T10:23:27Z")

</div>

I would like to plot the stability region of a (linearized) dynamic model at a certain operating point depending on model parameters. For example, assume that a model has parameters A and B. What I want is a plot that sh…

---

## [Smoothing 2D data homogeneously regardless of resolution](https://discourse.julialang.org/t/smoothing-2d-data-homogeneously-regardless-of-resolution/80082)

<div class="topic-metadata">

**Author:** [@Iddingsite](https://discourse.julialang.org/u/Iddingsite)\
**Replies:** 3\
**Last updated:** [May 3, 2022, 10:23am UTC](https://discourse.julialang.org/t/smoothing-2d-data-homogeneously-regardless-of-resolution/80082 "2022-05-03T10:23:22Z")

</div>

Hi, I have 2D initial values for a model and I am trying to smooth it. I would say the easiest way is the apply a gaussian filter on it. My problem is that I don’t have the same resolution in y and in x. I would like to…

---

## [JuMP solution\_summary() not working](https://discourse.julialang.org/t/jump-solution-summary-not-working/80412)

<div class="topic-metadata">

**Author:** [@naouess](https://discourse.julialang.org/u/naouess)\
**Replies:** 1\
**Last updated:** [May 3, 2022, 9:39am UTC](https://discourse.julialang.org/t/jump-solution-summary-not-working/80412 "2022-05-03T09:39:10Z")

</div>

Hello, I have a simple jump model and it’s running. When I try to check the solution using solution\_summary, it gives me an error: UndefVarError: solution\_summary not defined Any idea why this is bugging? I’m using J…

---

## [The Bayesian SDE in the Turing tutorial issues an error](https://discourse.julialang.org/t/the-bayesian-sde-in-the-turing-tutorial-issues-an-error/73447)

<div class="topic-metadata">

**Author:** [@lilianping](https://discourse.julialang.org/u/lilianping)\
**Replies:** 21\
**Last updated:** [May 3, 2022, 7:41am UTC](https://discourse.julialang.org/t/the-bayesian-sde-in-the-turing-tutorial-issues-an-error/73447 "2022-05-03T07:41:43Z")

</div>

When I tried to run the code in the Turing tutorial, the following error occurred when running to beyesianSDE, why is it?

---

## [GLMakie: Length of the arrows](https://discourse.julialang.org/t/glmakie-length-of-the-arrows/80327)

<div class="topic-metadata">

**Author:** [@yashi](https://discourse.julialang.org/u/yashi)\
**Replies:** 1\
**Last updated:** [May 3, 2022, 1:34am UTC](https://discourse.julialang.org/t/glmakie-length-of-the-arrows/80327 "2022-05-03T01:34:24Z")

</div>

Is there better way to align the tip of the red arrow head to the surface of the sphere? It seems arrows() draws arrow tail (the straight line) and adds the arrow head. Thus the total length of the arrow is the directi…

---

## [Plot lines in the gaps between subplots](https://discourse.julialang.org/t/plot-lines-in-the-gaps-between-subplots/80172)

<div class="topic-metadata">

**Author:** [@chunjiw](https://discourse.julialang.org/u/chunjiw)\
**Replies:** 3\
**Last updated:** [May 2, 2022, 9:34pm UTC](https://discourse.julialang.org/t/plot-lines-in-the-gaps-between-subplots/80172 "2022-05-02T21:34:04Z")

</div>

Is it possible to plot lines in the gaps between subplots? For example, the two black lines indicating that the bottom plot is a zoom-in view of the top plot: Thanks for any help!

---

## [Comparing ODE's](https://discourse.julialang.org/t/comparing-odes/79994)

<div class="topic-metadata">

**Author:** [@BinaryBot](https://discourse.julialang.org/u/BinaryBot)\
**Replies:** 4\
**Last updated:** [May 2, 2022, 5:01pm UTC](https://discourse.julialang.org/t/comparing-odes/79994 "2022-05-02T17:01:35Z")

</div>

I would like to compare the simulation result of multiple version of ODE solvers (i.e compare different tolerance values and use different solvers). Is there a way that I can create a dictionary of the algorithms and the…

---

## [Choosing pdf output version in Plots.jl](https://discourse.julialang.org/t/choosing-pdf-output-version-in-plots-jl/80359)

<div class="topic-metadata">

**Author:** [@Janssena](https://discourse.julialang.org/u/Janssena)\
**Replies:** 4\
**Last updated:** [May 2, 2022, 4:09pm UTC](https://discourse.julialang.org/t/choosing-pdf-output-version-in-plots-jl/80359 "2022-05-02T16:09:37Z")

</div>

Hey all, I use Plots.jl to create and save images for publication. Generally I use GR.jl and save the plots to PDF. On my machine, using Plots.savefig results in Plots.jl saving a PDF1.2 file. My publisher uses PDF1.7,…

---

## [NLsolve.jl for different input and output dimensions?](https://discourse.julialang.org/t/nlsolve-jl-for-different-input-and-output-dimensions/80202)

<div class="topic-metadata">

**Author:** [@Alseidon](https://discourse.julialang.org/u/Alseidon)\
**Replies:** 13\
**Last updated:** [May 2, 2022, 3:13pm UTC](https://discourse.julialang.org/t/nlsolve-jl-for-different-input-and-output-dimensions/80202 "2022-05-02T15:13:29Z")

</div>

Hi all, I am currently trying out NLsolve.jl to find roots of given functions, which works great at the moment, but I realized that I can’t seem to find a way to specify a dimension for the output different from the inp…

---

## [Parallel HDF5 crashing on build](https://discourse.julialang.org/t/parallel-hdf5-crashing-on-build/80135)

<div class="topic-metadata">

**Author:** [@Chiil](https://discourse.julialang.org/u/Chiil)\
**Replies:** 1\
**Last updated:** [May 2, 2022, 12:07pm UTC](https://discourse.julialang.org/t/parallel-hdf5-crashing-on-build/80135 "2022-05-02T12:07:31Z")

</div>

I am using a MPI-enabled HDF5 and suddenly calling up from the Julia package manager fails with ERROR: Error building \`HDF5\`: signal (11): Segmentation fault: 11 in expression starting at /Users/chiel/.julia/packages/…

---

## [Row-wise operation using \`map\`?](https://discourse.julialang.org/t/row-wise-operation-using-map/80339)

<div class="topic-metadata">

**Author:** [@HJW019](https://discourse.julialang.org/u/HJW019)\
**Replies:** 2\
**Last updated:** [May 2, 2022, 8:04am UTC](https://discourse.julialang.org/t/row-wise-operation-using-map/80339 "2022-05-02T08:04:06Z")

</div>

I am translating my CPU code to GPU. One of the things I did in CPU is to apply map to a Vector{Matrix{Real}} data for row-wise operations. For instance: julia\> aa = \[\[1. 2. 3.\], \[4. 5. 6.\]\] 2-element Vecto…

[Previous page](https://discourse.julialang.org/c/domain/10.md?no_subcategories=false&page=282)

[Next page](https://discourse.julialang.org/c/domain/10.md?no_subcategories=false&page=284)
