# Specific Domains

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

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

**Page:** 112

---

## [Canvas too small when plotting multiple plots](https://discourse.julialang.org/t/canvas-too-small-when-plotting-multiple-plots/114326)

<div class="topic-metadata">

**Author:** [@jabru](https://discourse.julialang.org/u/jabru)\
**Replies:** 1\
**Last updated:** [May 16, 2024, 1:34am UTC](https://discourse.julialang.org/t/canvas-too-small-when-plotting-multiple-plots/114326 "2024-05-16T01:34:38Z")

</div>

Hi there, I am currently using the Plots.jl package for making the plots for my paper. And for some reason, when I create multiple plots next to each other, the canvas seems tp be to small to fit the entire image. For …

---

## [Integration over implicit region](https://discourse.julialang.org/t/integration-over-implicit-region/112729)

<div class="topic-metadata">

**Author:** [@jabru](https://discourse.julialang.org/u/jabru)\
**Replies:** 5\
**Last updated:** [May 16, 2024, 1:20am UTC](https://discourse.julialang.org/t/integration-over-implicit-region/112729 "2024-05-16T01:20:33Z")

</div>

Hi there, this is more of a package existence than anything else. There is one functionality in Wolfram Mathematica, which I have never seen implemented in any open source software package. Neither for Julia nor for any…

---

## [Luxor 'placeimage' with scaling](https://discourse.julialang.org/t/luxor-placeimage-with-scaling/114299)

<div class="topic-metadata">

**Author:** [@beryl](https://discourse.julialang.org/u/beryl)\
**Replies:** 2\
**Last updated:** [May 15, 2024, 6:17pm UTC](https://discourse.julialang.org/t/luxor-placeimage-with-scaling/114299 "2024-05-15T18:17:51Z")

</div>

Hi, I think this is a rather simple question but somehow I am unable to figure this out… :sweat\_smile: So, I have some svg images where all of them have the same scales. I want to place them on some absolute coordinates…

---

## [Failed optimization with function](https://discourse.julialang.org/t/failed-optimization-with-function/114290)

<div class="topic-metadata">

**Author:** [@nouha941](https://discourse.julialang.org/u/nouha941)\
**Replies:** 4\
**Last updated:** [May 15, 2024, 4:49pm UTC](https://discourse.julialang.org/t/failed-optimization-with-function/114290 "2024-05-15T16:49:53Z")

</div>

Hello everyone, I have a problem with optimizing my function. I keep getting an error. Could you please help me? function optimize\_Cs(Q\_e, PT501, PT401, P\_HP, R\_m, R\_p, Qp, Pe) #calcul initial de Cs Pe = (( ((Q\_…

---

## [Optim: MethodError: no method matching zero](https://discourse.julialang.org/t/optim-methoderror-no-method-matching-zero/45139)

<div class="topic-metadata">

**Author:** [@F-YF](https://discourse.julialang.org/u/F-YF)\
**Replies:** 4\
**Last updated:** [May 8, 2024, 9:24am UTC](https://discourse.julialang.org/t/optim-methoderror-no-method-matching-zero/45139 "2024-05-08T09:24:59Z")

</div>

When I do optimization calculations with the Optim package, an error occurred. The type of A1,A2,A3,A4 is ::Array{Complex{Float64},2}. I don’t know how to solve it. Is there a way to make optimize() support this type?Or…

---

## [Using Modeling Toolkit to solve simple equation](https://discourse.julialang.org/t/using-modeling-toolkit-to-solve-simple-equation/114289)

<div class="topic-metadata">

**Author:** [@HSnowden](https://discourse.julialang.org/u/HSnowden)\
**Replies:** 2\
**Last updated:** [May 15, 2024, 1:23pm UTC](https://discourse.julialang.org/t/using-modeling-toolkit-to-solve-simple-equation/114289 "2024-05-15T13:23:58Z")

</div>

Hello, I shall pretense this with that I am very new to ModelingToolkit As part of a bigger system I have a laser source term which chnages based on the type of a struct defining the equation. This means that I want to…

---

## [RC -Example model equations](https://discourse.julialang.org/t/rc-example-model-equations/114083)

<div class="topic-metadata">

**Author:** [@Jan\_Svanda](https://discourse.julialang.org/u/Jan_Svanda)\
**Replies:** 5\
**Last updated:** [May 15, 2024, 8:30am UTC](https://discourse.julialang.org/t/rc-example-model-equations/114083 "2024-05-15T08:30:44Z")

</div>

I tried the example ‘Acausal Component – RC-Circuit’ in ModelingToolkit.jl. I have a question regarding accessing equations that describe the system. I see that I can access the differential equations with equations(expa…

---

## [ParameterSchedulers causing error with Flux.update!](https://discourse.julialang.org/t/parameterschedulers-causing-error-with-flux-update/114287)

<div class="topic-metadata">

**Author:** [@cjs](https://discourse.julialang.org/u/cjs)\
**Replies:** 0\
**Last updated:** [May 15, 2024, 7:56am UTC](https://discourse.julialang.org/t/parameterschedulers-causing-error-with-flux-update/114287 "2024-05-15T07:56:32Z")

</div>

I am running a DRL algorithm with Adam where I want the learning rate to decay with time. As an example, consider using Flux, ParameterSchedulers model = Chain(Dense(5,10,gelu), Dense(10,10,gelu), Dense(10,1,softplus)) …

---

## [Zygote much slower than JAX for automatic differentiation of energy](https://discourse.julialang.org/t/zygote-much-slower-than-jax-for-automatic-differentiation-of-energy/114239)

<div class="topic-metadata">

**Author:** [@albertomercurio](https://discourse.julialang.org/u/albertomercurio)\
**Replies:** 22\
**Last updated:** [May 15, 2024, 6:31am UTC](https://discourse.julialang.org/t/zygote-much-slower-than-jax-for-automatic-differentiation-of-energy/114239 "2024-05-15T06:31:51Z")

</div>

Hello, I’m new in the neural network field, and I’m starting to study Neural Network Quantum States (for example ground state searching using neural networks). Usually, they are implemented in Python using Jax, but then…

---

## [Google BigQuery](https://discourse.julialang.org/t/google-bigquery/99684)

<div class="topic-metadata">

**Author:** [@A\_M](https://discourse.julialang.org/u/A_M)\
**Replies:** 3\
**Last updated:** [May 14, 2024, 10:42pm UTC](https://discourse.julialang.org/t/google-bigquery/99684 "2024-05-14T22:42:41Z")

</div>

I am trying to use GCP.jl to query data from BQ table, but when I tried to install it. I got this error. Any idea how to fix it? Resolving package versions... ERROR: Unsatisfiable requirements detected for package GC…

---

## [Type stability for ODEProblem objects](https://discourse.julialang.org/t/type-stability-for-odeproblem-objects/45324)

<div class="topic-metadata">

**Author:** [@imcinerney](https://discourse.julialang.org/u/imcinerney)\
**Replies:** 10\
**Last updated:** [May 14, 2024, 7:26pm UTC](https://discourse.julialang.org/t/type-stability-for-odeproblem-objects/45324 "2024-05-14T19:26:26Z")

</div>

I am working on a problem where I simulate an ODE as part of a larger optimization scheme (the ODE becomes part of the cost function computation in a derivative-free setting), and I was trying to track down some ineffici…

---

## [How to code RealNVP using invertibleNetworks.jl?](https://discourse.julialang.org/t/how-to-code-realnvp-using-invertiblenetworks-jl/114267)

<div class="topic-metadata">

**Author:** [@josemanuel22](https://discourse.julialang.org/u/josemanuel22)\
**Replies:** 0\
**Last updated:** [May 14, 2024, 6:32pm UTC](https://discourse.julialang.org/t/how-to-code-realnvp-using-invertiblenetworks-jl/114267 "2024-05-14T18:32:21Z")

</div>

I am using invertibleNetworks.jl as a library for normalizing flows. However, the examples included are for the GLOW architecture and others, but I would like to use the RealNVP architecture, and I have not been able to …

---

## [Issue understanding Lux recurrent cells](https://discourse.julialang.org/t/issue-understanding-lux-recurrent-cells/114249)

<div class="topic-metadata">

**Author:** [@dmetivie](https://discourse.julialang.org/u/dmetivie)\
**Replies:** 1\
**Last updated:** [May 14, 2024, 4:03pm UTC](https://discourse.julialang.org/t/issue-understanding-lux-recurrent-cells/114249 "2024-05-14T16:03:43Z")

</div>

I am trying to turn the following code to Lux.jl def generator(gru\_units, dense\_units, sequence\_length, noise\_dimension, model\_dimension): # Inputs. inputs = tf.keras.layers.Input(shape=(sequence\_length, mod…

---

## [Horizontal bar plots with error bars](https://discourse.julialang.org/t/horizontal-bar-plots-with-error-bars/114217)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 2\
**Last updated:** [May 14, 2024, 2:39pm UTC](https://discourse.julialang.org/t/horizontal-bar-plots-with-error-bars/114217 "2024-05-14T14:39:00Z")

</div>

I am trying to make a horizontal bar plot with error bars, but I am having issues: using Plots, Distributions labels = \["aaa","bbb","ccc"\] values = \[10,8,7\] sd = \[2.2,0.8,1.5\] n = 30 errors = quantile(Normal(0,…

---

## [Random Orthogonal Matrices](https://discourse.julialang.org/t/random-orthogonal-matrices/9779)

<div class="topic-metadata">

**Author:** [@iwelch](https://discourse.julialang.org/u/iwelch)\
**Replies:** 15\
**Last updated:** [May 14, 2024, 1:48pm UTC](https://discourse.julialang.org/t/random-orthogonal-matrices/9779 "2024-05-14T13:48:29Z")

</div>

dear julia experts—has anyone already written a random orthogonal matrix generator for square matrices? Is the right way to do this generating a random normal matrix first and then running a Gram-Schmidt orthogonalizati…

---

## [Use Sobol sequence in DifferentialEquations.jl / StochasticDiffEq.jl](https://discourse.julialang.org/t/use-sobol-sequence-in-differentialequations-jl-stochasticdiffeq-jl/109220)

<div class="topic-metadata">

**Author:** [@stochasticguy](https://discourse.julialang.org/u/stochasticguy)\
**Replies:** 8\
**Last updated:** [May 14, 2024, 1:31pm UTC](https://discourse.julialang.org/t/use-sobol-sequence-in-differentialequations-jl-stochasticdiffeq-jl/109220 "2024-05-14T13:31:21Z")

</div>

Hi everyone, I’m trying to use the Sobol sequence to simulate Stochastic Differential Equations with StochasticDiffEq.jl / DifferentialEquations.jl. I’m trying to use the Sobol sequence to generate the random numbers be…

---

## [NonLinear Optimization fails with JuMP (infeasible?)](https://discourse.julialang.org/t/nonlinear-optimization-fails-with-jump-infeasible/114190)

<div class="topic-metadata">

**Author:** [@nouha941](https://discourse.julialang.org/u/nouha941)\
**Replies:** 11\
**Last updated:** [May 14, 2024, 8:16am UTC](https://discourse.julialang.org/t/nonlinear-optimization-fails-with-jump-infeasible/114190 "2024-05-14T08:16:22Z")

</div>

Hello everyone, I’m currently focused on minimizing the specific consumption of a desalination unit. I’ve formulated an equation that incorporates the various hydraulic and pressure parameters of the system under investi…

---

## [Modelling events in a time-series with random interval between (heart beats) with Turing.jl](https://discourse.julialang.org/t/modelling-events-in-a-time-series-with-random-interval-between-heart-beats-with-turing-jl/112653)

<div class="topic-metadata">

**Author:** [@JohsEnevoldsen](https://discourse.julialang.org/u/JohsEnevoldsen)\
**Replies:** 14\
**Last updated:** [May 13, 2024, 9:38pm UTC](https://discourse.julialang.org/t/modelling-events-in-a-time-series-with-random-interval-between-heart-beats-with-turing-jl/112653 "2024-05-13T21:38:59Z")

</div>

(Edit: here is copy-paste-able code for the problematic model: heartbeat\_question\_code.jl · GitHub) I’m trying to learn Turing.jl, and after a few simple models, I wanted to fit a more complex model, that I could not fi…

---

## [What "yerror" expects in Plots.jl?](https://discourse.julialang.org/t/what-yerror-expects-in-plots-jl/114207)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 2\
**Last updated:** [May 13, 2024, 6:39pm UTC](https://discourse.julialang.org/t/what-yerror-expects-in-plots-jl/114207 "2024-05-13T18:39:51Z")

</div>

Is it the value of sd/sqrt(n\_samples) ?

---

## [Confidence Intervals for Sobol Global Sensitivity Analysis](https://discourse.julialang.org/t/confidence-intervals-for-sobol-global-sensitivity-analysis/113671)

<div class="topic-metadata">

**Author:** [@Nick1](https://discourse.julialang.org/u/Nick1)\
**Replies:** 3\
**Last updated:** [May 13, 2024, 6:32pm UTC](https://discourse.julialang.org/t/confidence-intervals-for-sobol-global-sensitivity-analysis/113671 "2024-05-13T18:32:20Z")

</div>

I was running the example for Sobol sensitivity analysis, which was mentioned in the tutorial (Sobol Method · GlobalSensitivity.jl) and I observed that when I specified the nboot argument to calculate the confidence inte…

---

## [Analyzing 2nd-order Sobol Indices](https://discourse.julialang.org/t/analyzing-2nd-order-sobol-indices/113664)

<div class="topic-metadata">

**Author:** [@Nick1](https://discourse.julialang.org/u/Nick1)\
**Replies:** 2\
**Last updated:** [May 13, 2024, 5:14pm UTC](https://discourse.julialang.org/t/analyzing-2nd-order-sobol-indices/113664 "2024-05-13T17:14:58Z")

</div>

I have a model with 130 parameters and measure 18 outputs. I ran the Sobol analysis for the 2nd-order indices because there is a significant difference between the total indices and 1st-order, so I guess there are higher…

---

## [How to set xticks dependent on Observable?](https://discourse.julialang.org/t/how-to-set-xticks-dependent-on-observable/113740)

<div class="topic-metadata">

**Author:** [@vladdez](https://discourse.julialang.org/u/vladdez)\
**Replies:** 4\
**Last updated:** [May 13, 2024, 12:58pm UTC](https://discourse.julialang.org/t/how-to-set-xticks-dependent-on-observable/113740 "2024-05-13T12:58:50Z")

</div>

I have an Observable figure dependent on the vector called sortvalues. It perfectly updates except the xticks: when i put: axleft.xticks = sortvalues it shows an error: It is disallowed to set xticks, an Observabl…

---

## [Extracting neumann boundary in Gridap - discrepancy](https://discourse.julialang.org/t/extracting-neumann-boundary-in-gridap-discrepancy/114179)

<div class="topic-metadata">

**Author:** [@DnBgk](https://discourse.julialang.org/u/DnBgk)\
**Replies:** 0\
**Last updated:** [May 12, 2024, 10:12pm UTC](https://discourse.julialang.org/t/extracting-neumann-boundary-in-gridap-discrepancy/114179 "2024-05-12T22:12:54Z")

</div>

So I want to model the Neumann-to-Dirichlet map in a Poisson like equation. If I can give it my neumann boundary right away is there an implemented method that also extracts the neumann boundary values? If no. I’m wond…

---

## [Semidefinite constraints, fp roundoff errors, and normalization](https://discourse.julialang.org/t/semidefinite-constraints-fp-roundoff-errors-and-normalization/114092)

<div class="topic-metadata">

**Author:** [@Johan-Gronqvist](https://discourse.julialang.org/u/Johan-Gronqvist)\
**Replies:** 2\
**Last updated:** [May 12, 2024, 10:03pm UTC](https://discourse.julialang.org/t/semidefinite-constraints-fp-roundoff-errors-and-normalization/114092 "2024-05-12T22:03:14Z")

</div>

I am using JuMP with semidefinite constraints, and when my matrix elements become large, roundoff errors also become large, in absolute terms. JuMP warns when the matrix has absolute asymmetries in the range 1e-10 to 1e…

---

## [How to get evaluation number in optimization using NLopt](https://discourse.julialang.org/t/how-to-get-evaluation-number-in-optimization-using-nlopt/114020)

<div class="topic-metadata">

**Author:** [@mary](https://discourse.julialang.org/u/mary)\
**Replies:** 7\
**Last updated:** [May 8, 2024, 10:40pm UTC](https://discourse.julialang.org/t/how-to-get-evaluation-number-in-optimization-using-nlopt/114020 "2024-05-08T22:40:05Z")

</div>

Hi, I am using Nlopt to do the optimization. in this case i have defined a function for optimization. inside this function the optimizer reads another functions to calculate the objective and gradients. I also want to ge…

---

## [NeuralPDE fails to solve system when parameters change](https://discourse.julialang.org/t/neuralpde-fails-to-solve-system-when-parameters-change/114169)

<div class="topic-metadata">

**Author:** [@affans](https://discourse.julialang.org/u/affans)\
**Replies:** 1\
**Last updated:** [May 12, 2024, 6:49pm UTC](https://discourse.julialang.org/t/neuralpde-fails-to-solve-system-when-parameters-change/114169 "2024-05-12T18:49:25Z")

</div>

I am hitting a weird situation that I can not figure out why – perhaps it’s a bug within NeuralPDE or maybe just need to tweak my settings. Given the Lorenzs system in this example (i.e., eqs) I am able to do forward si…

---

## [Challenges in Estimating Wind Turbine Controller Using Universal Differential Equations (UDE) Approach](https://discourse.julialang.org/t/challenges-in-estimating-wind-turbine-controller-using-universal-differential-equations-ude-approach/113890)

<div class="topic-metadata">

**Author:** [@Alvaro98](https://discourse.julialang.org/u/Alvaro98)\
**Replies:** 5\
**Last updated:** [May 12, 2024, 5:05pm UTC](https://discourse.julialang.org/t/challenges-in-estimating-wind-turbine-controller-using-universal-differential-equations-ude-approach/113890 "2024-05-12T17:05:56Z")

</div>

Hello all, As part of my PhD work, I’m applying the Universal Differential Equations (UDE) approach seen in Automatically Discover Missing Physics by Embedding Machine Learning into Differential Equations · Overview of …

---

## [\[Makie\] Displaying LaTeX fraction in xticks](https://discourse.julialang.org/t/makie-displaying-latex-fraction-in-xticks/114166)

<div class="topic-metadata">

**Author:** [@Jeonghun\_Lee](https://discourse.julialang.org/u/Jeonghun_Lee)\
**Replies:** 2\
**Last updated:** [May 12, 2024, 2:37pm UTC](https://discourse.julialang.org/t/makie-displaying-latex-fraction-in-xticks/114166 "2024-05-12T14:37:09Z")

</div>

I’m having trouble dealing with xticks. using CairoMakie using LaTeXStrings fig = Figure() ax = Axis(fig\[1,1\], xticks = (-pi:pi/2:pi, \[L"-\\pi", L"-\\pi/2", L"0", L"\\pi/2", L"\\pi"\])) xlims!(ax, -pi, pi) fig This code…

---

## [Is there an equivalent of LazyLinear in Flux.jl?](https://discourse.julialang.org/t/is-there-an-equivalent-of-lazylinear-in-flux-jl/114165)

<div class="topic-metadata">

**Author:** [@NeroBlackstone](https://discourse.julialang.org/u/NeroBlackstone)\
**Replies:** 0\
**Last updated:** [May 12, 2024, 10:46am UTC](https://discourse.julialang.org/t/is-there-an-equivalent-of-lazylinear-in-flux-jl/114165 "2024-05-12T10:46:57Z")

</div>

LazyLinear It seems that a similar option in Flux.jl is @autosize. But we still need to manually pass in the first input layer dimension.

---

## [Why do we need 3 chains to solve a PDE using NeuralPDE](https://discourse.julialang.org/t/why-do-we-need-3-chains-to-solve-a-pde-using-neuralpde/108136)

<div class="topic-metadata">

**Author:** [@affans](https://discourse.julialang.org/u/affans)\
**Replies:** 7\
**Last updated:** [May 11, 2024, 9:04pm UTC](https://discourse.julialang.org/t/why-do-we-need-3-chains-to-solve-a-pde-using-neuralpde/108136 "2024-05-11T21:04:21Z")

</div>

I am working through examples from NeuralPDE.jl package and have a question. I am looking at the inverse problem example (i.e. parameter estimation) and just need to get my thinking straight. This is more of a conceptual…

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

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