# Specific Domains

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

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

**Page:** 54

---

## [Makie show image on surface](https://discourse.julialang.org/t/makie-show-image-on-surface/126893)

<div class="topic-metadata">

**Author:** [@grero](https://discourse.julialang.org/u/grero)\
**Replies:** 5\
**Last updated:** [March 14, 2025, 12:33am UTC](https://discourse.julialang.org/t/makie-show-image-on-surface/126893 "2025-03-14T00:33:59Z")

</div>

I’m trying to display images as posters around a 3D environment using GLMakie. For that purpose, I wrote the following code using Makie using GeometryBasics using FileIO struct Sprite{T\<:RGB,T2\<:Integer,T3\<:Point3, T4\<:…

---

## [Best way to prevent AD to differentiate through useless or zero gradient function](https://discourse.julialang.org/t/best-way-to-prevent-ad-to-differentiate-through-useless-or-zero-gradient-function/126927)

<div class="topic-metadata">

**Author:** [@FerreolS](https://discourse.julialang.org/u/FerreolS)\
**Replies:** 2\
**Last updated:** [March 13, 2025, 9:05pm UTC](https://discourse.julialang.org/t/best-way-to-prevent-ad-to-differentiate-through-useless-or-zero-gradient-function/126927 "2025-03-13T21:05:03Z")

</div>

I want to minimize a function of the type: x = \\textrm{argmin}\_x \\min\_a || f(x) a - y ||^2 as it is quadratic in a we know the optimum in a is a(x) = (f(x)^T f(x))^{-1} f(x)^T y so we minimize x = \\text{argmin}\_x …

---

## [Parallelism in NestedSamplers.jl \`Proposals\`](https://discourse.julialang.org/t/parallelism-in-nestedsamplers-jl-proposals/126933)

<div class="topic-metadata">

**Author:** [@Riccardo\_Buscicchio](https://discourse.julialang.org/u/Riccardo_Buscicchio)\
**Replies:** 0\
**Last updated:** [March 13, 2025, 8:00pm UTC](https://discourse.julialang.org/t/parallelism-in-nestedsamplers-jl-proposals/126933 "2025-03-13T20:00:30Z")

</div>

Hi all, I would be interested in extending the Proposals available in NestedSamplers.jl to allow for parallel evaluation of multiple proposals. Has anyone ever attempted to do so?

---

## [Most efficient way to render large number of 2D objects in GLMakie in real-time?](https://discourse.julialang.org/t/most-efficient-way-to-render-large-number-of-2d-objects-in-glmakie-in-real-time/126924)

<div class="topic-metadata">

**Author:** [@mhinsch](https://discourse.julialang.org/u/mhinsch)\
**Replies:** 3\
**Last updated:** [March 13, 2025, 5:06pm UTC](https://discourse.julialang.org/t/most-efficient-way-to-render-large-number-of-2d-objects-in-glmakie-in-real-time/126924 "2025-03-13T17:06:27Z")

</div>

I’m implementing a real-time visualisation of a simulation that consists of drawing up to tens of thousands of objects on the screen where objects are represented by simple geometric shapes (or combinations thereof). Pos…

---

## [AC voltage component: system is unbalanced](https://discourse.julialang.org/t/ac-voltage-component-system-is-unbalanced/126904)

<div class="topic-metadata">

**Author:** [@sasrigais](https://discourse.julialang.org/u/sasrigais)\
**Replies:** 3\
**Last updated:** [March 13, 2025, 4:47pm UTC](https://discourse.julialang.org/t/ac-voltage-component-system-is-unbalanced/126904 "2025-03-13T16:47:07Z")

</div>

Hi there! I am trying to implement an AC voltage component, similar to Voltage from the standard library. When I try to @mtkbuild the component on its own, I get an ExtraVariablesSystemException. However, when used in …

---

## [CairoMakie Horizontal Colorbar](https://discourse.julialang.org/t/cairomakie-horizontal-colorbar/126919)

<div class="topic-metadata">

**Author:** [@andrew-saydjari](https://discourse.julialang.org/u/andrew-saydjari)\
**Replies:** 3\
**Last updated:** [March 13, 2025, 3:43pm UTC](https://discourse.julialang.org/t/cairomakie-horizontal-colorbar/126919 "2025-03-13T15:43:34Z")

</div>

I cannot seem to find good documentation for how to make a horizontal color bar in CairoMakie. I found the vertical=false option, but I cannot seem to create a gap between the color bar and the plot (see example below) a…

---

## [Reformulation Perspectification Technique: an example with a nonconvex feasible region](https://discourse.julialang.org/t/reformulation-perspectification-technique-an-example-with-a-nonconvex-feasible-region/126915)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 0\
**Last updated:** [March 13, 2025, 1:04pm UTC](https://discourse.julialang.org/t/reformulation-perspectification-technique-an-example-with-a-nonconvex-feasible-region/126915 "2025-03-13T13:04:53Z")

</div>

The nonconvex problem (NC) is \\min\_x \\{L\\,e^{x\_2} | L:= x\_1 + x\_2 + 1 \\ge 0, x\_1 x\_2 \\ge -1\\} It’s clear that the objective function is “linear times convex”, which is suitable for perspectification. And the feasible r…

---

## [How to solve a nonlinear problem](https://discourse.julialang.org/t/how-to-solve-a-nonlinear-problem/126877)

<div class="topic-metadata">

**Author:** [@andrea\_bertozzi](https://discourse.julialang.org/u/andrea_bertozzi)\
**Replies:** 5\
**Last updated:** [March 13, 2025, 9:27am UTC](https://discourse.julialang.org/t/how-to-solve-a-nonlinear-problem/126877 "2025-03-13T09:27:41Z")

</div>

I have the following code and I am trying to solve a nonlinear problem using MAT using NonlinearSolve using FiniteDifferences include("../src/Tether\_quasistatic.jl") function get\_init\_cond(filename) vars = matread(…

---

## [Mosek interior point stopping criterion and basis identification](https://discourse.julialang.org/t/mosek-interior-point-stopping-criterion-and-basis-identification/126863)

<div class="topic-metadata">

**Author:** [@rpetit](https://discourse.julialang.org/u/rpetit)\
**Replies:** 4\
**Last updated:** [March 13, 2025, 9:22am UTC](https://discourse.julialang.org/t/mosek-interior-point-stopping-criterion-and-basis-identification/126863 "2025-03-13T09:22:18Z")

</div>

Hi! I have noticed a weird behaviour of Mosek: when solving a linear program with the interior-point optimizer, the primal and dual feasibility tolerances do not seem to be taken into account when basis identification i…

---

## [Reinit \`tdir\` in ODEIntegrator](https://discourse.julialang.org/t/reinit-tdir-in-odeintegrator/126865)

<div class="topic-metadata">

**Author:** [@ivborissov](https://discourse.julialang.org/u/ivborissov)\
**Replies:** 2\
**Last updated:** [March 12, 2025, 8:51pm UTC](https://discourse.julialang.org/t/reinit-tdir-in-odeintegrator/126865 "2025-03-12T20:51:59Z")

</div>

Hi @ChrisRackauckas , is there a way to change integration direction with reinit! when solving an ODE? Or the only way is to remake the ODEProblem? E.g.: using OrdinaryDiffEq prob = ODEProblem((du, u, p, t) -\> du\[1\] =…

---

## [How to obtain U^-1 factor from sparse Cholesky factorization?](https://discourse.julialang.org/t/how-to-obtain-u-1-factor-from-sparse-cholesky-factorization/126887)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 2\
**Last updated:** [March 12, 2025, 8:14pm UTC](https://discourse.julialang.org/t/how-to-obtain-u-1-factor-from-sparse-cholesky-factorization/126887 "2025-03-12T20:14:17Z")

</div>

Given a dense positive semi-definite symmetric matrix A, we can easily obtain the U^{-1} factor from the Cholesky factorization object: julia\> using LinearAlgebra julia\> A = Symmetric(\[2 1; 1 2\]) 2×2 Symmetric{Int64, M…

---

## [In plots, how do I add error bars in both x and y direction](https://discourse.julialang.org/t/in-plots-how-do-i-add-error-bars-in-both-x-and-y-direction/126886)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 1\
**Last updated:** [March 12, 2025, 6:50pm UTC](https://discourse.julialang.org/t/in-plots-how-do-i-add-error-bars-in-both-x-and-y-direction/126886 "2025-03-12T18:50:25Z")

</div>

I can plot error bars in y axis, but if I want in x axis as well. I.e. something like this: Very much ideally I would be interested in how to do this in Plots.jl.

---

## [ODE solution positivity for systems biology models](https://discourse.julialang.org/t/ode-solution-positivity-for-systems-biology-models/126601)

<div class="topic-metadata">

**Author:** [@homegnome0](https://discourse.julialang.org/u/homegnome0)\
**Replies:** 24\
**Last updated:** [March 12, 2025, 6:32pm UTC](https://discourse.julialang.org/t/ode-solution-positivity-for-systems-biology-models/126601 "2025-03-12T18:32:11Z")

</div>

In solving a system of biological ODEs, for certain parameter values I am getting solutions that “erroneously” go negative. However, I found this discussion on the DifferentialEquations.jl FAQ page: “The following set o…

---

## [Generalised eigenvalue problem with BigFloat](https://discourse.julialang.org/t/generalised-eigenvalue-problem-with-bigfloat/126197)

<div class="topic-metadata">

**Author:** [@fionah](https://discourse.julialang.org/u/fionah)\
**Replies:** 11\
**Last updated:** [March 12, 2025, 12:33pm UTC](https://discourse.julialang.org/t/generalised-eigenvalue-problem-with-bigfloat/126197 "2025-03-12T12:33:40Z")

</div>

I am trying to solve the generalised eigenvalue problem in arbitrary precision, using the BigFloat data type. using LinearAlgebra using GenericLinearAlgebra setprecision(128) println(eigen(Hermitian(rand(BigFloat, 2, …

---

## [DifferentialEquations.jl : supplied Jacobian solution takes more time and memory](https://discourse.julialang.org/t/differentialequations-jl-supplied-jacobian-solution-takes-more-time-and-memory/126761)

<div class="topic-metadata">

**Author:** [@Sushrut\_Deshpande](https://discourse.julialang.org/u/Sushrut_Deshpande)\
**Replies:** 12\
**Last updated:** [March 12, 2025, 11:35am UTC](https://discourse.julialang.org/t/differentialequations-jl-supplied-jacobian-solution-takes-more-time-and-memory/126761 "2025-03-12T11:35:22Z")

</div>

Hello, I want to supply the Jacobian to the ODE solver, it seems to me that on supplying the Jacobian the time and memory used by the solver is more than if I hadn’t supplied. I am using sparse matrices for memory effi…

---

## [Geostatistics in Julia](https://discourse.julialang.org/t/geostatistics-in-julia/126862)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 0\
**Last updated:** [March 12, 2025, 10:59am UTC](https://discourse.julialang.org/t/geostatistics-in-julia/126862 "2025-03-12T10:59:34Z")

</div>

In case you are not following the latest updates in our discourse thread, here is a comparison table that you can share with colleagues when they ask about the status of geo + stats software in Julia:

---

## [Causal inference in Julia 2025?](https://discourse.julialang.org/t/causal-inference-in-julia-2025/126001)

<div class="topic-metadata">

**Author:** [@eteppo](https://discourse.julialang.org/u/eteppo)\
**Replies:** 9\
**Last updated:** [March 11, 2025, 11:36pm UTC](https://discourse.julialang.org/t/causal-inference-in-julia-2025/126001 "2025-03-11T23:36:57Z")

</div>

Hey! I’ve been reading about causal inference recently and trying to incorporate those methods into my research as much as I can. My impression is that many others are trying to do the same in various fields. I thought …

---

## [Supporting appending \`Vector\` in DuckDB](https://discourse.julialang.org/t/supporting-appending-vector-in-duckdb/126511)

<div class="topic-metadata">

**Author:** [@slwu89](https://discourse.julialang.org/u/slwu89)\
**Replies:** 2\
**Last updated:** [March 11, 2025, 11:06pm UTC](https://discourse.julialang.org/t/supporting-appending-vector-in-duckdb/126511 "2025-03-11T23:06:55Z")

</div>

Hi all, following up from How to insert nested/composite types into DuckDB from a DataFrame? - #3 by slwu89 I’m peeking into what it would take to support inserting, say Vector{Int} into a DuckDB database using the appen…

---

## [Julia Targeting Xilinx Vitis HLS](https://discourse.julialang.org/t/julia-targeting-xilinx-vitis-hls/63113)

<div class="topic-metadata">

**Author:** [@Allan\_Baker](https://discourse.julialang.org/u/Allan_Baker)\
**Replies:** 4\
**Last updated:** [March 11, 2025, 1:21pm UTC](https://discourse.julialang.org/t/julia-targeting-xilinx-vitis-hls/63113 "2025-03-11T13:21:43Z")

</div>

How difficult is it to get Julia to target Xilinx’s API for Julia algorithms direct to FPGA? https://forums.xilinx.com/t5/AI-and-Machine-Learning-Blog/Opening-a-World-of-Possibilities-Vitis-HLS-Front-end-is-Now-Open/ba-…

---

## [Basic Bonito app fails to be served](https://discourse.julialang.org/t/basic-bonito-app-fails-to-be-served/122483)

<div class="topic-metadata">

**Author:** [@cstjean](https://discourse.julialang.org/u/cstjean)\
**Replies:** 7\
**Last updated:** [March 11, 2025, 12:58am UTC](https://discourse.julialang.org/t/basic-bonito-app-fails-to-be-served/122483 "2025-03-11T00:58:46Z")

</div>

I’m trying to get a very simple Bonito (v4.0.0) app running, and I must be doing something horribly wrong because it’s not working well. Starting from Deployment · Bonito (simondanisch.github.io) using Bonito, Bonito.Ob…

---

## [How to use LaTeX Computer Modern font for all text in all plots?](https://discourse.julialang.org/t/how-to-use-latex-computer-modern-font-for-all-text-in-all-plots/126791)

<div class="topic-metadata">

**Author:** [@homocomputeris](https://discourse.julialang.org/u/homocomputeris)\
**Replies:** 0\
**Last updated:** [March 10, 2025, 8:17pm UTC](https://discourse.julialang.org/t/how-to-use-latex-computer-modern-font-for-all-text-in-all-plots/126791 "2025-03-10T20:17:46Z")

</div>

How can I set up Plots.jl to use Computer modern for all labels in all plots (on macos)? With the config using LaTeXStrings using Plots gr() DPI = 150 default( size=(70 \* sqrt(2) \* DPI / 25.4, 70 \* DPI / 25.4), …

---

## [How to linearize an MTK model with internal calls to a nonlinear solver](https://discourse.julialang.org/t/how-to-linearize-an-mtk-model-with-internal-calls-to-a-nonlinear-solver/126766)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 3\
**Last updated:** [March 10, 2025, 6:08pm UTC](https://discourse.julialang.org/t/how-to-linearize-an-mtk-model-with-internal-calls-to-a-nonlinear-solver/126766 "2025-03-10T18:08:28Z")

</div>

If I have an MTK model that contains one registered, numeric function, and this numeric function itself uses a nonlinear solver to find a solution… Can I still linearize the MTK model in the normal way?

---

## [Forward Diff Trying to Cast Dual Type to Float64](https://discourse.julialang.org/t/forward-diff-trying-to-cast-dual-type-to-float64/126691)

<div class="topic-metadata">

**Author:** [@Bocconocini](https://discourse.julialang.org/u/Bocconocini)\
**Replies:** 6\
**Last updated:** [March 10, 2025, 5:59pm UTC](https://discourse.julialang.org/t/forward-diff-trying-to-cast-dual-type-to-float64/126691 "2025-03-10T17:59:25Z")

</div>

Hello, I’m new to JuMP and trying to implement a yaw-plane vehicle model. The inputs to the function are arrays of the steering and throttle inputs (for every discrete time step). The model runs fine on its own, but add…

---

## [Draw circuit schematic in pure Julia](https://discourse.julialang.org/t/draw-circuit-schematic-in-pure-julia/126592)

<div class="topic-metadata">

**Author:** [@albertomercurio](https://discourse.julialang.org/u/albertomercurio)\
**Replies:** 6\
**Last updated:** [March 10, 2025, 3:16pm UTC](https://discourse.julialang.org/t/draw-circuit-schematic-in-pure-julia/126592 "2025-03-10T15:16:36Z")

</div>

Hello, I need to draw some circuit schematic like the following And then embedding this schematic in my plots made with Makie.jl The current approaches I have investigated so far are circuitkz and schemdraw. The fi…

---

## [Sundials KLU issue with Jacobian prototype](https://discourse.julialang.org/t/sundials-klu-issue-with-jacobian-prototype/126655)

<div class="topic-metadata">

**Author:** [@flothostre](https://discourse.julialang.org/u/flothostre)\
**Replies:** 2\
**Last updated:** [March 10, 2025, 8:25am UTC](https://discourse.julialang.org/t/sundials-klu-issue-with-jacobian-prototype/126655 "2025-03-10T08:25:41Z")

</div>

Hi everyone, I am currently encountering issues when solving large (2814 states) stiff DAE problems (energy system time domain simulations) in Sundials IDA with the KLU linear solver (to exploit the inherent sparsity of…

---

## [Dynamic plotting of NonlinearSolve controlled by sliders in Makie](https://discourse.julialang.org/t/dynamic-plotting-of-nonlinearsolve-controlled-by-sliders-in-makie/126737)

<div class="topic-metadata">

**Author:** [@Mehdi\_MABED](https://discourse.julialang.org/u/Mehdi_MABED)\
**Replies:** 1\
**Last updated:** [March 10, 2025, 12:12am UTC](https://discourse.julialang.org/t/dynamic-plotting-of-nonlinearsolve-controlled-by-sliders-in-makie/126737 "2025-03-10T00:12:07Z")

</div>

I want to solve a non linear problem which depend on 3 variables, each one of them being controlled by a slider in Makie and I struggle with that. My non linear function takes an input number (the x coordinate) with 3 p…

---

## [JuMP memory allocation](https://discourse.julialang.org/t/jump-memory-allocation/126731)

<div class="topic-metadata">

**Author:** [@fdekerme](https://discourse.julialang.org/u/fdekerme)\
**Replies:** 2\
**Last updated:** [March 9, 2025, 11:15pm UTC](https://discourse.julialang.org/t/jump-memory-allocation/126731 "2025-03-09T23:15:51Z")

</div>

Hi! :grinning: I am starting to use JuMP.jl to implement an optimization process on an image (size 266 x 353 pixels). I implement the problem like that to find L₁, L₂ values on each pixel: model = Model(Ipopt.Optimizer…

---

## [RxInfer.jl beginner question re; UndefRefError](https://discourse.julialang.org/t/rxinfer-jl-beginner-question-re-undefreferror/126660)

<div class="topic-metadata">

**Author:** [@slwu89](https://discourse.julialang.org/u/slwu89)\
**Replies:** 6\
**Last updated:** [March 9, 2025, 8:29pm UTC](https://discourse.julialang.org/t/rxinfer-jl-beginner-question-re-undefreferror/126660 "2025-03-09T20:29:21Z")

</div>

Hi all, I just started with RxInfer.jl for simulations of patient recruitment in clinical trials. The simplest model is a simple Poisson-Gamma model, where each clinical site draws the (time homogeneous) rate for the Poi…

---

## [How to fix "! Dimension too large." when using pgfplotsx?](https://discourse.julialang.org/t/how-to-fix-dimension-too-large-when-using-pgfplotsx/126730)

<div class="topic-metadata">

**Author:** [@homocomputeris](https://discourse.julialang.org/u/homocomputeris)\
**Replies:** 1\
**Last updated:** [March 9, 2025, 1:08pm UTC](https://discourse.julialang.org/t/how-to-fix-dimension-too-large-when-using-pgfplotsx/126730 "2025-03-09T13:08:19Z")

</div>

When trying to plot the following data VectorOfArray{Float64,2}: 2-element Vector{Vector{Float64}}: \[0.00969160836699929, 516.6666666666663\] \[0.00974104323961814, 900.0\] VectorOfArray{Float64,2}: 2-element Vector{Vect…

---

## [How to use amssymb in Plots.jl with LaTeXStrings?](https://discourse.julialang.org/t/how-to-use-amssymb-in-plots-jl-with-latexstrings/126728)

<div class="topic-metadata">

**Author:** [@homocomputeris](https://discourse.julialang.org/u/homocomputeris)\
**Replies:** 0\
**Last updated:** [March 9, 2025, 12:14pm UTC](https://discourse.julialang.org/t/how-to-use-amssymb-in-plots-jl-with-latexstrings/126728 "2025-03-09T12:14:28Z")

</div>

How to use amssymb commands in L"..."-labels of plots? Using, for example, \\mathbb returns the following error: ! Undefined control sequence. \\pgfplots@already@computed@legend@node ...\\mathbb …

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

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