# Specific Domains

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

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

**Page:** 306

---

## [Is the Plots.jl layout broken?](https://discourse.julialang.org/t/is-the-plots-jl-layout-broken/75819)

<div class="topic-metadata">

**Author:** [@AdamWysokinski](https://discourse.julialang.org/u/AdamWysokinski)\
**Replies:** 5\
**Last updated:** [February 4, 2022, 9:24pm UTC](https://discourse.julialang.org/t/is-the-plots-jl-layout-broken/75819 "2022-02-04T21:24:24Z")

</div>

Hi, All packages updated, using gr() backend, the command plot(margins=0cm, layout=@layout \[a{0.125h} b;c\]) gives the following result: using pyplot() the result is slightly better, but still far from good: Ho…

---

## [Reference for Brusselator in DifferentialEquation.jl](https://discourse.julialang.org/t/reference-for-brusselator-in-differentialequation-jl/75810)

<div class="topic-metadata">

**Author:** [@ziolai](https://discourse.julialang.org/u/ziolai)\
**Replies:** 2\
**Last updated:** [February 4, 2022, 9:08pm UTC](https://discourse.julialang.org/t/reference-for-brusselator-in-differentialequation-jl/75810 "2022-02-04T21:08:57Z")

</div>

The page Solving Large Stiff Equations · DifferentialEquations.jl list specific boundary and initial conditions for the Brusselator diffusion-reaction system. What reference what used? Thx!

---

## [GraphsMakie, not working correctly](https://discourse.julialang.org/t/graphsmakie-not-working-correctly/75813)

<div class="topic-metadata">

**Author:** [@matic\_lauko](https://discourse.julialang.org/u/matic_lauko)\
**Replies:** 2\
**Last updated:** [February 4, 2022, 6:29pm UTC](https://discourse.julialang.org/t/graphsmakie-not-working-correctly/75813 "2022-02-04T18:29:11Z")

</div>

Hello, I’m trying to run this code on my computer(HP Z1 2012): using WGLMakie, GraphMakie, Graphs, #Makie - doesn't work if in or not. g = complete\_graph(10) graphplot(g) A simple code, that(I think should just create …

---

## [JuMP and Pluto.jl?](https://discourse.julialang.org/t/jump-and-pluto-jl/49210)

<div class="topic-metadata">

**Author:** [@gleyland](https://discourse.julialang.org/u/gleyland)\
**Replies:** 8\
**Last updated:** [February 4, 2022, 5:16pm UTC](https://discourse.julialang.org/t/jump-and-pluto-jl/49210 "2022-02-04T17:16:04Z")

</div>

Hi, Has anyone tried using JuMP inside a Pluto.jl notebook? Are there any tricks one needs to be aware of? I have a simple notebook with two cells: “”" using JuMP, GLPK “”" and “”" begin M = Model(GLPK.Optimize…

---

## [Optim.jl violates inequality constraint](https://discourse.julialang.org/t/optim-jl-violates-inequality-constraint/75573)

<div class="topic-metadata">

**Author:** [@ForceBru](https://discourse.julialang.org/u/ForceBru)\
**Replies:** 3\
**Last updated:** [February 4, 2022, 4:49pm UTC](https://discourse.julialang.org/t/optim-jl-violates-inequality-constraint/75573 "2022-02-04T16:49:11Z")

</div>

I’m trying to do maximum likelihood estimation with constraints: p\[1\] + p\[2\] + p\[3\] + ... == 1 p\[1\] \* a\[1\] / (1 - b\[1\]) + p\[2\] \* a\[2\] / (1 - b\[2\]) + ... \< 1 However, Optim seems to ignore the inequality constraint. Co…

---

## [Making a triangular plot](https://discourse.julialang.org/t/making-a-triangular-plot/75802)

<div class="topic-metadata">

**Author:** [@DanielVandH](https://discourse.julialang.org/u/DanielVandH)\
**Replies:** 4\
**Last updated:** [February 4, 2022, 3:49pm UTC](https://discourse.julialang.org/t/making-a-triangular-plot/75802 "2022-02-04T15:49:46Z")

</div>

In MATLAB there is a function triplot (2-D triangular plot - MATLAB triplot) which can be used to make a triangular plot given a connectivity matrix and the corresponding (x, y) values. Is there a similar function in Jul…

---

## [Multithreaded MatVec](https://discourse.julialang.org/t/multithreaded-matvec/6030)

<div class="topic-metadata">

**Author:** [@dgleich](https://discourse.julialang.org/u/dgleich)\
**Replies:** 10\
**Last updated:** [February 4, 2022, 2:40pm UTC](https://discourse.julialang.org/t/multithreaded-matvec/6030 "2022-02-04T14:40:48Z")

</div>

Just out of curiosity, has anyone written up a sparse matrix-vector product using the new multithreading stuff? The At\_mul\_B operation works great because all the writes are disjoint between threads. But I was curious ab…

---

## [How to Create a Table in a DataBase Using DataFrames?](https://discourse.julialang.org/t/how-to-create-a-table-in-a-database-using-dataframes/75759)

<div class="topic-metadata">

**Author:** [@TheCedarPrince](https://discourse.julialang.org/u/TheCedarPrince)\
**Replies:** 3\
**Last updated:** [February 4, 2022, 2:34pm UTC](https://discourse.julialang.org/t/how-to-create-a-table-in-a-database-using-dataframes/75759 "2022-02-04T14:34:40Z")

</div>

Hi all! I tried looking through the documentation, but I could not find it readily - is there a way to write a DataFrame to either a Postgresql (via LibPQ.jl) or MySQL (via MySQL.jl) database as a new table? Ideally, i…

---

## [Pytorch post on taking inspiration from julia](https://discourse.julialang.org/t/pytorch-post-on-taking-inspiration-from-julia/75791)

<div class="topic-metadata">

**Author:** [@bjarthur](https://discourse.julialang.org/u/bjarthur)\
**Replies:** 0\
**Last updated:** [February 4, 2022, 1:03pm UTC](https://discourse.julialang.org/t/pytorch-post-on-taking-inspiration-from-julia/75791 "2022-02-04T13:03:55Z")

</div>

---

## [Problems using SolveDSGE.jl](https://discourse.julialang.org/t/problems-using-solvedsge-jl/75787)

<div class="topic-metadata">

**Author:** [@rgouveiamendes](https://discourse.julialang.org/u/rgouveiamendes)\
**Replies:** 0\
**Last updated:** [February 4, 2022, 11:07am UTC](https://discourse.julialang.org/t/problems-using-solvedsge-jl/75787 "2022-02-04T11:07:41Z")

</div>

Hello everyone, I am trying to estimate the following model with SolveDSGE: states: a, k end jumps: c, muc, n end shocks: ε end parameters: α = 0.4 β = 0.99 δ = 0.1 γ = 0.1 ρ = 0.9 θ = 5.0 sd = 0.01 end equat…

---

## [Turing.jl for Causal Inference model](https://discourse.julialang.org/t/turing-jl-for-causal-inference-model/75650)

<div class="topic-metadata">

**Author:** [@danielw2904](https://discourse.julialang.org/u/danielw2904)\
**Replies:** 19\
**Last updated:** [February 4, 2022, 10:30am UTC](https://discourse.julialang.org/t/turing-jl-for-causal-inference-model/75650 "2022-02-04T10:30:06Z")

</div>

I am trying to translate the model from McElreath’s Causal Inference workshop (youtube, github) to Turing.jl and while the results seem to be the same I get much worse performance with Turing (3 sec. vs 110 sec.) so I wa…

---

## [Can I use Makie with plots.jl or graphs.jl to create interractive graphs?](https://discourse.julialang.org/t/can-i-use-makie-with-plots-jl-or-graphs-jl-to-create-interractive-graphs/75754)

<div class="topic-metadata">

**Author:** [@matic\_lauko](https://discourse.julialang.org/u/matic_lauko)\
**Replies:** 3\
**Last updated:** [February 4, 2022, 6:21am UTC](https://discourse.julialang.org/t/can-i-use-makie-with-plots-jl-or-graphs-jl-to-create-interractive-graphs/75754 "2022-02-04T06:21:29Z")

</div>

I’m trying to build a map for some game, for that, I only need graphs that I can change while using them eg, make them different colors and get that data, ad limits to movement on edges and get data for different vertice…

---

## [Parameter Estimation of HPV Disease Model ( DiffEqFlux ) (beginner issue)](https://discourse.julialang.org/t/parameter-estimation-of-hpv-disease-model-diffeqflux-beginner-issue/75758)

<div class="topic-metadata">

**Author:** [@Mevlut\_Cayli](https://discourse.julialang.org/u/Mevlut_Cayli)\
**Replies:** 1\
**Last updated:** [February 4, 2022, 12:41am UTC](https://discourse.julialang.org/t/parameter-estimation-of-hpv-disease-model-diffeqflux-beginner-issue/75758 "2022-02-04T00:41:18Z")

</div>

Hi, I 'm trying to estimate HPV transmission model parameters with DiffeqFlux but seems like it gets stuck in local optima and I’m not sure about using mini batching because my observation data just has length of 6 in …

---

## [Using Custom Structs for Nonlinear Optimization](https://discourse.julialang.org/t/using-custom-structs-for-nonlinear-optimization/75755)

<div class="topic-metadata">

**Author:** [@danny.s](https://discourse.julialang.org/u/danny.s)\
**Replies:** 1\
**Last updated:** [February 3, 2022, 10:35pm UTC](https://discourse.julialang.org/t/using-custom-structs-for-nonlinear-optimization/75755 "2022-02-03T22:35:55Z")

</div>

Hi, I’m new to JuMP and I’m trying to wrap my head around why what I’m doing is incorrect. A much simplified MWE is below: using JuMP, Ipopt M,N = 3,5 struct myPoly vec end function (f::myPoly)(x) ret = 0. …

---

## [Stipple with Oracle and Intersystems IRIS?](https://discourse.julialang.org/t/stipple-with-oracle-and-intersystems-iris/75751)

<div class="topic-metadata">

**Author:** [@bww00](https://discourse.julialang.org/u/bww00)\
**Replies:** 4\
**Last updated:** [February 3, 2022, 8:52pm UTC](https://discourse.julialang.org/t/stipple-with-oracle-and-intersystems-iris/75751 "2022-02-03T20:52:41Z")

</div>

Looking for an update on Stipple Thanks

---

## [CUDA AES implementation help: Parallelizing execution on Array{UInt8, 16} type inputs](https://discourse.julialang.org/t/cuda-aes-implementation-help-parallelizing-execution-on-array-uint8-16-type-inputs/75732)

<div class="topic-metadata">

**Author:** [@Nightshade\_Lemonade](https://discourse.julialang.org/u/Nightshade_Lemonade)\
**Replies:** 6\
**Last updated:** [February 3, 2022, 8:13pm UTC](https://discourse.julialang.org/t/cuda-aes-implementation-help-parallelizing-execution-on-array-uint8-16-type-inputs/75732 "2022-02-03T20:13:37Z")

</div>

I’m trying to do AES on the GPU. My latest attempt looks something like this: # AES has a similar function signature to this function blockAdd(b::Array{UInt8, 16})::Array{UInt8, 16} a = UInt8\[0 for i in 1:16\] fo…

---

## [Can I use Makie.jl without GPU](https://discourse.julialang.org/t/can-i-use-makie-jl-without-gpu/75590)

<div class="topic-metadata">

**Author:** [@matic\_lauko](https://discourse.julialang.org/u/matic_lauko)\
**Replies:** 5\
**Last updated:** [February 3, 2022, 8:01pm UTC](https://discourse.julialang.org/t/can-i-use-makie-jl-without-gpu/75590 "2022-02-03T20:01:55Z")

</div>

Hello, I’m trying to build an interactive graph, but I don’t have a GPU on my computer, can I still use Makie.jl. If not what would you recommend? Thank you for your help!

---

## [Edit .NL files using JuMP](https://discourse.julialang.org/t/edit-nl-files-using-jump/75712)

<div class="topic-metadata">

**Author:** [@Luca](https://discourse.julialang.org/u/Luca)\
**Replies:** 1\
**Last updated:** [February 3, 2022, 5:41pm UTC](https://discourse.julialang.org/t/edit-nl-files-using-jump/75712 "2022-02-03T17:41:09Z")

</div>

Dear all, I would like to run a solvers comparison on several instances of MINLPLib. I can get the .NL files for each instance. Now, I would like to reformulate several instances and I need to edit the .NL files (in par…

---

## [Using multiple index variables in Turing model](https://discourse.julialang.org/t/using-multiple-index-variables-in-turing-model/75743)

<div class="topic-metadata">

**Author:** [@ewcrombe](https://discourse.julialang.org/u/ewcrombe)\
**Replies:** 0\
**Last updated:** [February 3, 2022, 5:33pm UTC](https://discourse.julialang.org/t/using-multiple-index-variables-in-turing-model/75743 "2022-02-03T17:33:40Z")

</div>

Hello everyone, I would like to use two index variables in a model, but I don’t know how to do it… I would like to do something like this: @model function m2(A, G, D) α ~ MvNormal(\[\[0 0\] \[0 0\]\], …

---

## [How to use Log10 axis scale for Makie heatmaps](https://discourse.julialang.org/t/how-to-use-log10-axis-scale-for-makie-heatmaps/75722)

<div class="topic-metadata">

**Author:** [@fnoessler](https://discourse.julialang.org/u/fnoessler)\
**Replies:** 2\
**Last updated:** [February 3, 2022, 3:07pm UTC](https://discourse.julialang.org/t/how-to-use-log10-axis-scale-for-makie-heatmaps/75722 "2022-02-03T15:07:52Z")

</div>

Hello, I cannot figure out how to properly set a log10 axis scale for heatmaps. I get an error of invalid x-limits even if I set positive axis limits. I know log10 is not defined for negative values (when I dont want a …

---

## [How to use DiscreteCallbacks with sundials.jl IDA solver? How to implement reinit!?](https://discourse.julialang.org/t/how-to-use-discretecallbacks-with-sundials-jl-ida-solver-how-to-implement-reinit/75674)

<div class="topic-metadata">

**Author:** [@TobiasFranz](https://discourse.julialang.org/u/TobiasFranz)\
**Replies:** 8\
**Last updated:** [February 3, 2022, 2:36pm UTC](https://discourse.julialang.org/t/how-to-use-discretecallbacks-with-sundials-jl-ida-solver-how-to-implement-reinit/75674 "2022-02-03T14:36:00Z")

</div>

I’m solving large DAE-Systems derived from PDEs for electrochemical systems. I’m using the IDA solver because the ODE solvers (DAE formulated as ODE in mass matrix form) are not working (all of them are unstable) for my …

---

## [DiffEqOperators and DifferentialEquations: solving a coupled system of PDEs](https://discourse.julialang.org/t/diffeqoperators-and-differentialequations-solving-a-coupled-system-of-pdes/74722)

<div class="topic-metadata">

**Author:** [@ash](https://discourse.julialang.org/u/ash)\
**Replies:** 14\
**Last updated:** [February 3, 2022, 2:14pm UTC](https://discourse.julialang.org/t/diffeqoperators-and-differentialequations-solving-a-coupled-system-of-pdes/74722 "2022-02-03T14:14:55Z")

</div>

I am trying to solve a system of coupled PDEs shown below: and . I have written some simple code using DifferentialEquations.jl and DiffEqOperators.jl hoping to solve this system: using DifferentialEquations using…

---

## [Line-search SQP](https://discourse.julialang.org/t/line-search-sqp/75547)

<div class="topic-metadata">

**Author:** [@AhmedAlreweny](https://discourse.julialang.org/u/AhmedAlreweny)\
**Replies:** 5\
**Last updated:** [February 3, 2022, 2:32am UTC](https://discourse.julialang.org/t/line-search-sqp/75547 "2022-02-03T02:32:04Z")

</div>

Hi, I am trying to solve a PDE-constrained optimization problem that can be written as: minimize f(x) subject to h(x)=0 As this problem is nonlinear, I try to find a local minimum by starting from…

---

## [Need help avoiding catastrophic cancellation or overflow](https://discourse.julialang.org/t/need-help-avoiding-catastrophic-cancellation-or-overflow/75318)

<div class="topic-metadata">

**Author:** [@tbeason](https://discourse.julialang.org/u/tbeason)\
**Replies:** 15\
**Last updated:** [February 3, 2022, 2:24am UTC](https://discourse.julialang.org/t/need-help-avoiding-catastrophic-cancellation-or-overflow/75318 "2022-02-03T02:24:04Z")

</div>

I am computing integrals of the form \\int\_s^t e^{-a -bx-cx^2}dx. The solution is available in closed form in a number of cases such as (1) c\>0 and (2) c==0 and b!=0. The problem is that the closed form solution for the c…

---

## [RigidBodyDynamics - simulate multi link mechanism](https://discourse.julialang.org/t/rigidbodydynamics-simulate-multi-link-mechanism/75625)

<div class="topic-metadata">

**Author:** [@kobied](https://discourse.julialang.org/u/kobied)\
**Replies:** 1\
**Last updated:** [February 3, 2022, 12:27am UTC](https://discourse.julialang.org/t/rigidbodydynamics-simulate-multi-link-mechanism/75625 "2022-02-03T00:27:04Z")

</div>

Hello, I’m trying to simulate a multi-link mechanism. Based on the “double pendulum” example, I was able to define my mechanism, so far so good, my issue is this: In my dynamic simulation there are times when I need t…

---

## [How to draw a textbox around a text in Makie.jl?](https://discourse.julialang.org/t/how-to-draw-a-textbox-around-a-text-in-makie-jl/75672)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 1\
**Last updated:** [February 2, 2022, 11:57pm UTC](https://discourse.julialang.org/t/how-to-draw-a-textbox-around-a-text-in-makie-jl/75672 "2022-02-02T23:57:01Z")

</div>

In Makie.jl, how can I draw a box around a text? More specifically, I’d like to draw the bounding box of a given text that I’ve plotted using the text! function. In fact, it is even better if I could use the existing Te…

---

## [Packages defining functional data types](https://discourse.julialang.org/t/packages-defining-functional-data-types/73539)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 2\
**Last updated:** [February 2, 2022, 8:50pm UTC](https://discourse.julialang.org/t/packages-defining-functional-data-types/73539 "2022-02-02T20:50:41Z")

</div>

Any package out there defining a function type with inner product? In functional data analysis we often define the inner product between two functions as \\langle f, g \\rangle = \\int\_a^b f(t)\\bar{g(t)} dt More formally,…

---

## [Subplot enumeration for papers with Makie.jl](https://discourse.julialang.org/t/subplot-enumeration-for-papers-with-makie-jl/61685)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 3\
**Last updated:** [February 2, 2022, 5:20pm UTC](https://discourse.julialang.org/t/subplot-enumeration-for-papers-with-makie-jl/61685 "2022-02-02T17:20:02Z")

</div>

Hi there, I have a figure like this: made with PyPlot. The contents of the figure do not matter, only the letters that are in the upper right corner of each axis. Such “enumeration” is critical for publication qualit…

---

## [Differences between @spawnat, remotecall\_wait, remotecall\_fetch](https://discourse.julialang.org/t/differences-between-spawnat-remotecall-wait-remotecall-fetch/75649)

<div class="topic-metadata">

**Author:** [@shce](https://discourse.julialang.org/u/shce)\
**Replies:** 0\
**Last updated:** [February 2, 2022, 12:46pm UTC](https://discourse.julialang.org/t/differences-between-spawnat-remotecall-wait-remotecall-fetch/75649 "2022-02-02T12:46:53Z")

</div>

Hello! I was wondering what is the difference between @spawn, remotecall\_wait and remotecall\_fetch. For instance, consider the following MWE: using Distributed @everywhere using DistributedArrays @everywhere function …

---

## [Optim.jl optimize 2 variable function with initial boundaries](https://discourse.julialang.org/t/optim-jl-optimize-2-variable-function-with-initial-boundaries/75497)

<div class="topic-metadata">

**Author:** [@Iulian.Cioarca](https://discourse.julialang.org/u/Iulian.Cioarca)\
**Replies:** 6\
**Last updated:** [February 2, 2022, 1:16pm UTC](https://discourse.julialang.org/t/optim-jl-optimize-2-variable-function-with-initial-boundaries/75497 "2022-02-02T13:16:32Z")

</div>

I’m struggling to accomplish a basic task with Optim. Let’s say I defined a function f(a,x,y) = a + x^2 + y^2. I want to minimize this function given initial boundaries: x0 = \[-10, 10\], y0 = \[-10, 10\] and a = 10, as con…

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

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