# Specific Domains

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

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

**Page:** 128

---

## [Ylim shifts image in plot](https://discourse.julialang.org/t/ylim-shifts-image-in-plot/111512)

<div class="topic-metadata">

**Author:** [@parzt](https://discourse.julialang.org/u/parzt)\
**Replies:** 5\
**Last updated:** [March 12, 2024, 5:03pm UTC](https://discourse.julialang.org/t/ylim-shifts-image-in-plot/111512 "2024-03-12T17:03:06Z")

</div>

I’m trying to plot a section of an image file using Plots.jl and then draw in certain points in the image. It works nicely when I plot the whole image: using Plots using FileIO, HTTP, ImageIO bg\_img2 = load(HTTP.URI("h…

---

## [Solving 1D heat equation using FFT](https://discourse.julialang.org/t/solving-1d-heat-equation-using-fft/111457)

<div class="topic-metadata">

**Author:** [@Abdulrhmn\_Ghanem](https://discourse.julialang.org/u/Abdulrhmn_Ghanem)\
**Replies:** 10\
**Last updated:** [March 12, 2024, 3:32pm UTC](https://discourse.julialang.org/t/solving-1d-heat-equation-using-fft/111457 "2024-03-12T15:32:34Z")

</div>

I am trying to reproduce the solution of heat 1D equation solution from https://databookuw.com/. u\_t = \\alpha^2u\_{xx} where u(t,\\ x) is the temperature distribution in time and space. \\mathcal{F}(u(t,\\ x)) = \\hat u(t,…

---

## [Interactive Julia plot of a compiled mathematical model](https://discourse.julialang.org/t/interactive-julia-plot-of-a-compiled-mathematical-model/111523)

<div class="topic-metadata">

**Author:** [@Marci93Bio](https://discourse.julialang.org/u/Marci93Bio)\
**Replies:** 1\
**Last updated:** [March 12, 2024, 3:13pm UTC](https://discourse.julialang.org/t/interactive-julia-plot-of-a-compiled-mathematical-model/111523 "2024-03-12T15:13:30Z")

</div>

Hello! I’m having some trouble building an interactive plotting tool for my Julia code. Here’s the problem: I have a mathematical model implemented in Julia. I want to create a tool that plots the state variables and …

---

## [Matrix Factorials](https://discourse.julialang.org/t/matrix-factorials/111515)

<div class="topic-metadata">

**Author:** [@ZekeMarshall](https://discourse.julialang.org/u/ZekeMarshall)\
**Replies:** 4\
**Last updated:** [March 12, 2024, 2:05pm UTC](https://discourse.julialang.org/t/matrix-factorials/111515 "2024-03-12T14:05:12Z")

</div>

Hi, I’ve been looking for a function to calculate the factorial of a matrix, but haven’t had any luck. I was wondering whether someone could point me in the right direction? Apologies if i have missed something obviou…

---

## [How to extract number of words (for time reading a post) in franklin.jl](https://discourse.julialang.org/t/how-to-extract-number-of-words-for-time-reading-a-post-in-franklin-jl/111502)

<div class="topic-metadata">

**Author:** [@indymnv](https://discourse.julialang.org/u/indymnv)\
**Replies:** 0\
**Last updated:** [March 12, 2024, 6:11am UTC](https://discourse.julialang.org/t/how-to-extract-number-of-words-for-time-reading-a-post-in-franklin-jl/111502 "2024-03-12T06:11:02Z")

</div>

I’m looking to improve my blog a bit with Franklin, and one thing I want to add to make it more user-friendly is something like the number of words and the approximate reading time (this as a simple calculation of propor…

---

## [Convex.jl for SDP](https://discourse.julialang.org/t/convex-jl-for-sdp/111474)

<div class="topic-metadata">

**Author:** [@iHany](https://discourse.julialang.org/u/iHany)\
**Replies:** 2\
**Last updated:** [March 12, 2024, 4:01am UTC](https://discourse.julialang.org/t/convex-jl-for-sdp/111474 "2024-03-12T04:01:56Z")

</div>

I am trying to follow up \[1, Example 1\]. This involves semidefinite programming described in Corollary 1: The following is what I’ve tried, and basically I think I need some specialized syntax for SDP. Trial Code us…

---

## [Nonconvex.jl variable names](https://discourse.julialang.org/t/nonconvex-jl-variable-names/111330)

<div class="topic-metadata">

**Author:** [@rtapia](https://discourse.julialang.org/u/rtapia)\
**Replies:** 9\
**Last updated:** [March 11, 2024, 11:44pm UTC](https://discourse.julialang.org/t/nonconvex-jl-variable-names/111330 "2024-03-11T23:44:04Z")

</div>

Hello, How does Nonconvex.jl differentiate variables? To define variables the definition simply define an upper and lower bound values addvar!(model, lower, upper), so how does it differentiate between variables across …

---

## [Nonconvex JuMP model to DictModel cannot see constraints](https://discourse.julialang.org/t/nonconvex-jump-model-to-dictmodel-cannot-see-constraints/111485)

<div class="topic-metadata">

**Author:** [@rtapia](https://discourse.julialang.org/u/rtapia)\
**Replies:** 2\
**Last updated:** [March 11, 2024, 11:40pm UTC](https://discourse.julialang.org/t/nonconvex-jump-model-to-dictmodel-cannot-see-constraints/111485 "2024-03-11T23:40:15Z")

</div>

Hello, Following the example from DictModel definition · Nonconvex.jl using JuMP, Nonconvex jump\_model = JuMP.Model() @variable jump\_model 0 \<= x\[i=1:3\] \<= 1 @constraint jump\_model sum(x) \<= 1 model = DictModel(jump\_mo…

---

## [Nonconvex and Matrix Variables](https://discourse.julialang.org/t/nonconvex-and-matrix-variables/82056)

<div class="topic-metadata">

**Author:** [@chupin](https://discourse.julialang.org/u/chupin)\
**Replies:** 9\
**Last updated:** [March 11, 2024, 11:20pm UTC](https://discourse.julialang.org/t/nonconvex-and-matrix-variables/82056 "2024-03-11T23:20:01Z")

</div>

Is there any way to deal with matrix variables with Nonconvex lib ? I tried something like: using Nonconvex Nonconvex.@load Ipopt f(x) = sqrt(x\[2,2\]) g(x, a, b) = (a\*x\[1,2\] + b)^3 - x\[2,1\] model = Model(f) addvar!(mo…

---

## [StructuralIdentifiability Package Installation Failure](https://discourse.julialang.org/t/structuralidentifiability-package-installation-failure/111381)

<div class="topic-metadata">

**Author:** [@Nick1](https://discourse.julialang.org/u/Nick1)\
**Replies:** 3\
**Last updated:** [March 11, 2024, 7:36pm UTC](https://discourse.julialang.org/t/structuralidentifiability-package-installation-failure/111381 "2024-03-11T19:36:12Z")

</div>

The StructuralIdentifiability package cannot be installed correctly because the following dependencies fail. I use Julia 1.10.2 in expression starting at stdin:3 ✗ BinaryProvider ✗ CxxWrap ✗ Singular ✗ GroebnerBasis …

---

## [Simulating a PID in a DAE - how to simulate a DDAE?](https://discourse.julialang.org/t/simulating-a-pid-in-a-dae-how-to-simulate-a-ddae/111320)

<div class="topic-metadata">

**Author:** [@lpz18](https://discourse.julialang.org/u/lpz18)\
**Replies:** 4\
**Last updated:** [March 11, 2024, 6:16pm UTC](https://discourse.julialang.org/t/simulating-a-pid-in-a-dae-how-to-simulate-a-ddae/111320 "2024-03-11T18:16:45Z")

</div>

I would like to run a PID controller with a nonlinear set of ODEs with 6 continous variables. I thought I could do this with delay differential algebraic equaions, since in DelayDiffEq.jl it says Covers neutral and re…

---

## [Assign variables as array of matrices in JuMP](https://discourse.julialang.org/t/assign-variables-as-array-of-matrices-in-jump/43884)

<div class="topic-metadata">

**Author:** [@umbe](https://discourse.julialang.org/u/umbe)\
**Replies:** 4\
**Last updated:** [July 30, 2020, 7:26am UTC](https://discourse.julialang.org/t/assign-variables-as-array-of-matrices-in-jump/43884 "2020-07-30T07:26:16Z")

</div>

Hello to everyone! I have a question concernig a possible way to provide the problem variables in JuMP. I would like to assign the variables in a 3-dimensional matrix, but one of the three dimensions is not constant. T…

---

## [Create a LaTeX style title with the content of a variable \[Solved\]](https://discourse.julialang.org/t/create-a-latex-style-title-with-the-content-of-a-variable-solved/111470)

<div class="topic-metadata">

**Author:** [@Denis\_Dardenne](https://discourse.julialang.org/u/Denis_Dardenne)\
**Replies:** 3\
**Last updated:** [March 11, 2024, 3:54pm UTC](https://discourse.julialang.org/t/create-a-latex-style-title-with-the-content-of-a-variable-solved/111470 "2024-03-11T15:54:24Z")

</div>

My aim is to title my plot with a LaTeX style. My code is the following using Plots using LaTeXStrings V= "My Title" plot(\[1,2\],\[1,2\], title=L"&(V)") But it does not work. I already used title=latexstring(V) , but th…

---

## [A JuMP Formulation for the Minimum Up/Down Time Unit Commitment constraint](https://discourse.julialang.org/t/a-jump-formulation-for-the-minimum-up-down-time-unit-commitment-constraint/111458)

<div class="topic-metadata">

**Author:** [@Mouhamed](https://discourse.julialang.org/u/Mouhamed)\
**Replies:** 2\
**Last updated:** [March 11, 2024, 3:30pm UTC](https://discourse.julialang.org/t/a-jump-formulation-for-the-minimum-up-down-time-unit-commitment-constraint/111458 "2024-03-11T15:30:33Z")

</div>

Hi I’m new to JuMP and i’m currently struggling to generate a working constraint for the Minimum Up/Down Time. Indeed these are the “mathematical” formulation of what I wanna write: Σv(i) \<= u(t) for i in range \[t-UpTi…

---

## [Finance and Economics Use Cases](https://discourse.julialang.org/t/finance-and-economics-use-cases/9452)

<div class="topic-metadata">

**Author:** [@cpfiffer](https://discourse.julialang.org/u/cpfiffer)\
**Replies:** 105\
**Last updated:** [March 11, 2024, 1:25pm UTC](https://discourse.julialang.org/t/finance-and-economics-use-cases/9452 "2024-03-11T13:25:13Z")

</div>

I’m a little disappointed to see how little activity there is in the finance and economics domain, though perhaps this is just due to the lack of a “critical mass” of other people to discuss it’s use with. So, I would l…

---

## [TrueColor raster satellite image](https://discourse.julialang.org/t/truecolor-raster-satellite-image/111401)

<div class="topic-metadata">

**Author:** [@haffner](https://discourse.julialang.org/u/haffner)\
**Replies:** 19\
**Last updated:** [March 11, 2024, 10:56am UTC](https://discourse.julialang.org/t/truecolor-raster-satellite-image/111401 "2024-03-11T10:56:34Z")

</div>

I’m trying to compose a TrueColor image from three raster channels a VIIRS granule stored in a netCDF4 file. I’d like to do this in pure Julia but haven’t figured it out yet. I can read the data using NCDatasets.jl, bu…

---

## [Custom Noise Process for DifferentialEquations.jl](https://discourse.julialang.org/t/custom-noise-process-for-differentialequations-jl/111418)

<div class="topic-metadata">

**Author:** [@StefanPerko](https://discourse.julialang.org/u/StefanPerko)\
**Replies:** 2\
**Last updated:** [March 11, 2024, 10:03am UTC](https://discourse.julialang.org/t/custom-noise-process-for-differentialequations-jl/111418 "2024-03-11T10:03:34Z")

</div>

I’m trying to define my own noise process for usage with the SDEProblem function. Mathematically its defined like this: take a Brownian motion on \[0,1\]. Stick the path on \[0,1\] at its own tail (continuously) to get a pr…

---

## [Makie Contourf Giving Incorrect Whitespace in Contours](https://discourse.julialang.org/t/makie-contourf-giving-incorrect-whitespace-in-contours/111222)

<div class="topic-metadata">

**Author:** [@TI36XPro](https://discourse.julialang.org/u/TI36XPro)\
**Replies:** 9\
**Last updated:** [March 10, 2024, 4:51pm UTC](https://discourse.julialang.org/t/makie-contourf-giving-incorrect-whitespace-in-contours/111222 "2024-03-10T16:51:55Z")

</div>

Hello, I am trying to plot the initial condition of some simulations I am running. The simulation is two-dimensional and the initial condition is composed of some hyperbolic tangents. The issue is that when I plot this…

---

## [Is the use of DAGs in causal inference commonplace?](https://discourse.julialang.org/t/is-the-use-of-dags-in-causal-inference-commonplace/108984)

<div class="topic-metadata">

**Author:** [@mthelm85](https://discourse.julialang.org/u/mthelm85)\
**Replies:** 7\
**Last updated:** [March 10, 2024, 10:45am UTC](https://discourse.julialang.org/t/is-the-use-of-dags-in-causal-inference-commonplace/108984 "2024-03-10T10:45:09Z")

</div>

A few years ago I worked through Richard McElreath’s Statistical Rethinking. In it, McElreath discusses the use of Directed Acyclic Graphs to specify/analyze causal models, briefly covers do-calculus, etc. I don’t work i…

---

## [SDE driven by a NoiseTransport noise](https://discourse.julialang.org/t/sde-driven-by-a-noisetransport-noise/110422)

<div class="topic-metadata">

**Author:** [@Damiano](https://discourse.julialang.org/u/Damiano)\
**Replies:** 6\
**Last updated:** [March 10, 2024, 2:31pm UTC](https://discourse.julialang.org/t/sde-driven-by-a-noisetransport-noise/110422 "2024-03-10T14:31:05Z")

</div>

Hi everybody, first of all let me say that I still consider myself new to Julia (and even programming in general), so everything I say and write is likely to contain very naive mistakes. Also, if there is anything I sho…

---

## [StaticRange precompile fails on Julia 1.10.2](https://discourse.julialang.org/t/staticrange-precompile-fails-on-julia-1-10-2/111248)

<div class="topic-metadata">

**Author:** [@Domenico\_Lahaye](https://discourse.julialang.org/u/Domenico_Lahaye)\
**Replies:** 6\
**Last updated:** [March 10, 2024, 1:27pm UTC](https://discourse.julialang.org/t/staticrange-precompile-fails-on-julia-1-10-2/111248 "2024-03-10T13:27:56Z")

</div>

My student has an error precompiling static ranges in Julia 1.10.2. Pls. advice.

---

## [Cannot set linestyle to :solid with observable using GLMakie](https://discourse.julialang.org/t/cannot-set-linestyle-to-solid-with-observable-using-glmakie/111413)

<div class="topic-metadata">

**Author:** [@oniehuis](https://discourse.julialang.org/u/oniehuis)\
**Replies:** 2\
**Last updated:** [March 10, 2024, 10:05am UTC](https://discourse.julialang.org/t/cannot-set-linestyle-to-solid-with-observable-using-glmakie/111413 "2024-03-10T10:05:04Z")

</div>

I want to change the linestyle of lines in an axis using an observable for the linestyle. When using the little code snippet below, it works for setting the linestyle to :dot, :dash, :dotdash, but not for setting the lin…

---

## [Colouring edges in GraphMakie.jl](https://discourse.julialang.org/t/colouring-edges-in-graphmakie-jl/109082)

<div class="topic-metadata">

**Author:** [@Mahnoor\_Pop](https://discourse.julialang.org/u/Mahnoor_Pop)\
**Replies:** 2\
**Last updated:** [March 9, 2024, 11:50pm UTC](https://discourse.julialang.org/t/colouring-edges-in-graphmakie-jl/109082 "2024-03-09T23:50:33Z")

</div>

Hi! I’m making a graph based on an adjacency matrix of 1’s and 2’s (which indicates which colour the edge should be). Currently, I can’t colour individual edges like shown in the third example of this page. I think this…

---

## [How to solve a large quadratic programming problem](https://discourse.julialang.org/t/how-to-solve-a-large-quadratic-programming-problem/111200)

<div class="topic-metadata">

**Author:** [@aris](https://discourse.julialang.org/u/aris)\
**Replies:** 39\
**Last updated:** [March 9, 2024, 6:10pm UTC](https://discourse.julialang.org/t/how-to-solve-a-large-quadratic-programming-problem/111200 "2024-03-09T18:10:58Z")

</div>

Hello everyone, I was looking for the most appropriate way to solve the following minimization problem in Julia. \\arg\\min ||g-K f||^2+α||f||^2\\equiv \\arg\\min \\frac{1}{2}f^T(K^T K+αI)f-g^TKf s.t. f\\geq0 (where K,I a…

---

## [MethodOfLines & Boundary Conditions](https://discourse.julialang.org/t/methodoflines-boundary-conditions/111393)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 2\
**Last updated:** [March 9, 2024, 3:15pm UTC](https://discourse.julialang.org/t/methodoflines-boundary-conditions/111393 "2024-03-09T15:15:51Z")

</div>

I have a PDE system with: 3 PDEs A number of additional algebraic equations I have boundary and initial value conditions with a number of added algebraic equations to describe the boundary conditions When I try to dis…

---

## [Faster matmul](https://discourse.julialang.org/t/faster-matmul/111389)

<div class="topic-metadata">

**Author:** [@tomtom](https://discourse.julialang.org/u/tomtom)\
**Replies:** 3\
**Last updated:** [March 9, 2024, 10:54am UTC](https://discourse.julialang.org/t/faster-matmul/111389 "2024-03-09T10:54:22Z")

</div>

https://arstechnica.com/information-technology/2024/03/matrix-multiplication-breakthrough-could-lead-to-faster-more-efficient-ai-models/ Would Julia implement new matmul algo like above?

---

## [PDESystem & MOL](https://discourse.julialang.org/t/pdesystem-mol/111283)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 2\
**Last updated:** [March 8, 2024, 5:05pm UTC](https://discourse.julialang.org/t/pdesystem-mol/111283 "2024-03-08T17:05:21Z")

</div>

I’m trying to formulate a PDE system for solution via MethodOfLines.jl. In the last step, I need to use the PDESystem constructor. It is not clear to me what the arguments of that function need to be. Here is what I have…

---

## [Loss function in NeuralPDE.jl](https://discourse.julialang.org/t/loss-function-in-neuralpde-jl/109702)

<div class="topic-metadata">

**Author:** [@Vivi](https://discourse.julialang.org/u/Vivi)\
**Replies:** 8\
**Last updated:** [March 8, 2024, 11:30am UTC](https://discourse.julialang.org/t/loss-function-in-neuralpde-jl/109702 "2024-03-08T11:30:59Z")

</div>

Hi, I’m trying to train a PINN using NeuralPDE.jl. I was able to start the training and achieved (at least in my opinion) a quiet small loss \< 1e-7. But when I plotted the network solution against the analytic solution …

---

## [Help solving: Adding a few equations to ODE slows JuMP \>100x](https://discourse.julialang.org/t/help-solving-adding-a-few-equations-to-ode-slows-jump-100x/111321)

<div class="topic-metadata">

**Author:** [@lpz18](https://discourse.julialang.org/u/lpz18)\
**Replies:** 18\
**Last updated:** [March 8, 2024, 8:00pm UTC](https://discourse.julialang.org/t/help-solving-adding-a-few-equations-to-ode-slows-jump-100x/111321 "2024-03-08T20:00:54Z")

</div>

I’m using JuMP with Ipopt and AppleAccelerate.jl Following the rocket control tutorial, I coded a simplified set of differential equations where I optimize a control function. My simplified code takes \<2s to run: # dy…

---

## [Nonconvex.jl documentation](https://discourse.julialang.org/t/nonconvex-jl-documentation/111318)

<div class="topic-metadata">

**Author:** [@rtapia](https://discourse.julialang.org/u/rtapia)\
**Replies:** 3\
**Last updated:** [March 8, 2024, 5:24pm UTC](https://discourse.julialang.org/t/nonconvex-jl-documentation/111318 "2024-03-08T17:24:06Z")

</div>

Hello, This may be a silly question, but where can I find the applicable args and kwargs to the function optimize() in Nonconvex.jl are these the same as NLopt or other packages like JuMP? Additionally, based on Variou…

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

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