# Specific Domains

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

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

**Page:** 100

---

## [Detecting Function Composition in Symbolics.jl](https://discourse.julialang.org/t/detecting-function-composition-in-symbolics-jl/115885)

<div class="topic-metadata">

**Author:** [@nicrummel](https://discourse.julialang.org/u/nicrummel)\
**Replies:** 5\
**Last updated:** [July 5, 2024, 6:06pm UTC](https://discourse.julialang.org/t/detecting-function-composition-in-symbolics-jl/115885 "2024-07-05T18:06:05Z")

</div>

Motivation I have a system of differential equations \\dot{U} = F(U,w) where U\\in \\mathbb{R}^D are dependent variables and w \\in\\mathbb{R}^J are parameters. And I can quickly build (in-place) Julia functions from Symbol…

---

## [How to supplement a function for equality check when joining the DataFrames](https://discourse.julialang.org/t/how-to-supplement-a-function-for-equality-check-when-joining-the-dataframes/116666)

<div class="topic-metadata">

**Author:** [@Gregstrq](https://discourse.julialang.org/u/Gregstrq)\
**Replies:** 2\
**Last updated:** [July 5, 2024, 5:33pm UTC](https://discourse.julialang.org/t/how-to-supplement-a-function-for-equality-check-when-joining-the-dataframes/116666 "2024-07-05T17:33:28Z")

</div>

I have two DataFrames, which both contain the same key, but with different accuracies: I load two datasets, which contain the physical properties of some physical objects. The first dataset contains one subset of the pro…

---

## [Boundary condition in Trixi with imported mesh with P4estmesh()](https://discourse.julialang.org/t/boundary-condition-in-trixi-with-imported-mesh-with-p4estmesh/116528)

<div class="topic-metadata">

**Author:** [@Kelian\_Renoux](https://discourse.julialang.org/u/Kelian_Renoux)\
**Replies:** 6\
**Last updated:** [July 5, 2024, 2:29pm UTC](https://discourse.julialang.org/t/boundary-condition-in-trixi-with-imported-mesh-with-p4estmesh/116528 "2024-07-05T14:29:35Z")

</div>

Hello, i have a special case in Trixi where I want to use boundary conditions with a mesh imported via GMSH, i was wondering if it was possible with a Trixi function ? Thanks

---

## [Some questions about \`Plots\`](https://discourse.julialang.org/t/some-questions-about-plots/116649)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 7\
**Last updated:** [July 5, 2024, 12:34pm UTC](https://discourse.julialang.org/t/some-questions-about-plots/116649 "2024-07-05T12:34:29Z")

</div>

How to make the title closer to the figure? How to make the xlabel/ylabel and the tick numbers closer to the axis? In some cases, if I set the size of the combined figure, some of xlables or ylabels near to the border w…

---

## [Trouble setting up PPO with reinforcementlearning](https://discourse.julialang.org/t/trouble-setting-up-ppo-with-reinforcementlearning/116653)

<div class="topic-metadata">

**Author:** [@clempe](https://discourse.julialang.org/u/clempe)\
**Replies:** 0\
**Last updated:** [July 5, 2024, 10:01am UTC](https://discourse.julialang.org/t/trouble-setting-up-ppo-with-reinforcementlearning/116653 "2024-07-05T10:01:13Z")

</div>

I’m new to julia reinforcementlearning, trying to run some experiments with PPO. Tried a lot of things, somehow can’t get ActorCritic to work. Maybe someone could give me a tip? Julia Version 1.10.4 Commit 48d4fd4843 (2…

---

## [Best, most idiomatic way to implement Bayesian Differential Equations in Turing?](https://discourse.julialang.org/t/best-most-idiomatic-way-to-implement-bayesian-differential-equations-in-turing/116608)

<div class="topic-metadata">

**Author:** [@JasonPekos](https://discourse.julialang.org/u/JasonPekos)\
**Replies:** 3\
**Last updated:** [July 5, 2024, 11:08am UTC](https://discourse.julialang.org/t/best-most-idiomatic-way-to-implement-bayesian-differential-equations-in-turing/116608 "2024-07-05T11:08:54Z")

</div>

Hi! As part of GSOC, I’m working on porting the posteriordb benchmarking suite to Turing. This includes a number of Bayesian differential equations. I’m really interested in putting Julia’s “best foot forwards”, so I’m …

---

## [Lazy constraint](https://discourse.julialang.org/t/lazy-constraint/116650)

<div class="topic-metadata">

**Author:** [@ahmad88](https://discourse.julialang.org/u/ahmad88)\
**Replies:** 1\
**Last updated:** [July 5, 2024, 9:55am UTC](https://discourse.julialang.org/t/lazy-constraint/116650 "2024-07-05T09:55:32Z")

</div>

I am trying to use benders decomposition with callback, at some point I have to add a lazy constraint to a model as follows MOI.submit(model, MOI.LazyConstraint(cb\_data), cut) What is the way if I want to remove the c…

---

## [How to minimize the variance of time intervals between scheduled slots?](https://discourse.julialang.org/t/how-to-minimize-the-variance-of-time-intervals-between-scheduled-slots/116591)

<div class="topic-metadata">

**Author:** [@scheidan1](https://discourse.julialang.org/u/scheidan1)\
**Replies:** 2\
**Last updated:** [July 4, 2024, 2:37pm UTC](https://discourse.julialang.org/t/how-to-minimize-the-variance-of-time-intervals-between-scheduled-slots/116591 "2024-07-04T14:37:53Z")

</div>

Hi, I’m trying to setup an optimization in JuMP. I do not have much experience in this field but it seems trivial: The aim is assigns speaker to slots with respect to some conditions. I want to minimizes the variance o…

---

## [Automatic x/y lims cut off markers](https://discourse.julialang.org/t/automatic-x-y-lims-cut-off-markers/116582)

<div class="topic-metadata">

**Author:** [@jerlich](https://discourse.julialang.org/u/jerlich)\
**Replies:** 3\
**Last updated:** [July 4, 2024, 10:33am UTC](https://discourse.julialang.org/t/automatic-x-y-lims-cut-off-markers/116582 "2024-07-04T10:33:25Z")

</div>

when using large markers, the edge of the marker is outside of the x / y lims. e.g: scatter(\[1,2,1,2\],\[1,1,2,2\].\*0.5; markersize=60, marker='◯', figure=(;size=(200,200))) Should the auto x/y lims take into a…

---

## [Save a fitted Turing model to disk](https://discourse.julialang.org/t/save-a-fitted-turing-model-to-disk/116396)

<div class="topic-metadata">

**Author:** [@DominiqueMakowski](https://discourse.julialang.org/u/DominiqueMakowski)\
**Replies:** 4\
**Last updated:** [July 4, 2024, 8:49am UTC](https://discourse.julialang.org/t/save-a-fitted-turing-model-to-disk/116396 "2024-07-04T08:49:19Z")

</div>

I am struggling to find the most straightforward way (using as little additional packages as possible) to save a Chains MCMC chain object (obtained from sampling from a Turing model) on the disk. I would like to be able…

---

## [Using orthogonal collocation method solve PDE of adsorption chromatography model](https://discourse.julialang.org/t/using-orthogonal-collocation-method-solve-pde-of-adsorption-chromatography-model/114413)

<div class="topic-metadata">

**Author:** [@Stephen](https://discourse.julialang.org/u/Stephen)\
**Replies:** 4\
**Last updated:** [July 4, 2024, 8:44am UTC](https://discourse.julialang.org/t/using-orthogonal-collocation-method-solve-pde-of-adsorption-chromatography-model/114413 "2024-07-04T08:44:21Z")

</div>

Chromatographic equation with diffusion： \\frac{\\partial c}{\\partial t} + \\frac{1 - \\epsilon}{\\epsilon} \\frac{\\partial q}{\\partial t} + u \\frac{\\partial c}{\\partial x} = D \\frac{\\partial^2 c}{\\partial x^2} \\frac{\\part…

---

## [Continuous versions of Poisson, Binomial, NegativeBinomial](https://discourse.julialang.org/t/continuous-versions-of-poisson-binomial-negativebinomial/115781)

<div class="topic-metadata">

**Author:** [@sdwfrost](https://discourse.julialang.org/u/sdwfrost)\
**Replies:** 5\
**Last updated:** [July 4, 2024, 8:44am UTC](https://discourse.julialang.org/t/continuous-versions-of-poisson-binomial-negativebinomial/115781 "2024-07-04T08:44:08Z")

</div>

Dear All, For one of my projects, I need to have continuous versions of the Poisson, Binomial and NegativeBinomial distributions, along the lines of Padellini and Rue. Before I start the tedious task of porting these ov…

---

## [Solving differential equations for multi-component fluid flow](https://discourse.julialang.org/t/solving-differential-equations-for-multi-component-fluid-flow/116254)

<div class="topic-metadata">

**Author:** [@DanaO](https://discourse.julialang.org/u/DanaO)\
**Replies:** 7\
**Last updated:** [July 4, 2024, 8:28am UTC](https://discourse.julialang.org/t/solving-differential-equations-for-multi-component-fluid-flow/116254 "2024-07-04T08:28:12Z")

</div>

Hello everyone, I would like to model a multi-component, isothermal gas flow in a 1D pipeline. To do this, I would like to solve the following simplified differential equations: \\quad \\frac{\\partial p}{\\partial t} = -…

---

## [How to output the first integer solution found in B&B process in Mosek](https://discourse.julialang.org/t/how-to-output-the-first-integer-solution-found-in-b-b-process-in-mosek/116462)

<div class="topic-metadata">

**Author:** [@izng](https://discourse.julialang.org/u/izng)\
**Replies:** 2\
**Last updated:** [July 4, 2024, 7:34am UTC](https://discourse.julialang.org/t/how-to-output-the-first-integer-solution-found-in-b-b-process-in-mosek/116462 "2024-07-04T07:34:18Z")

</div>

Hi, I want to know how to output the first integer solution and its objective value found within B&B process in Mosek.

---

## [Gridspace search different distance in each dimension](https://discourse.julialang.org/t/gridspace-search-different-distance-in-each-dimension/116287)

<div class="topic-metadata">

**Author:** [@sea\_slug](https://discourse.julialang.org/u/sea_slug)\
**Replies:** 2\
**Last updated:** [July 4, 2024, 3:50am UTC](https://discourse.julialang.org/t/gridspace-search-different-distance-in-each-dimension/116287 "2024-07-04T03:50:28Z")

</div>

I’m using agents.jl to create an ABM. Looking at the help for GridSpace I should be able to search different distances for each of the dimensions in my GridSpace (assuming metric = :chebyshev) with functions nearby\_ids() …

---

## [Using an SQLite table as a Query.jl data source (or, best way to left-join a DataFrame or Vector with a very large sqlite table)](https://discourse.julialang.org/t/using-an-sqlite-table-as-a-query-jl-data-source-or-best-way-to-left-join-a-dataframe-or-vector-with-a-very-large-sqlite-table/116410)

<div class="topic-metadata">

**Author:** [@sleak](https://discourse.julialang.org/u/sleak)\
**Replies:** 2\
**Last updated:** [July 3, 2024, 10:50pm UTC](https://discourse.julialang.org/t/using-an-sqlite-table-as-a-query-jl-data-source-or-best-way-to-left-join-a-dataframe-or-vector-with-a-very-large-sqlite-table/116410 "2024-07-03T22:50:24Z")

</div>

I have a vector (of strings) that I want to left-join with an SQLite table (to find an “id” corresponding to each string). The SQLite table is too big to load into memory - but the left join should return only as many ro…

---

## [Multi-step prediction of autoregressive model from StatsModels](https://discourse.julialang.org/t/multi-step-prediction-of-autoregressive-model-from-statsmodels/113089)

<div class="topic-metadata">

**Author:** [@ohmsweetohm1](https://discourse.julialang.org/u/ohmsweetohm1)\
**Replies:** 4\
**Last updated:** [July 3, 2024, 7:43pm UTC](https://discourse.julialang.org/t/multi-step-prediction-of-autoregressive-model-from-statsmodels/113089 "2024-07-03T19:43:50Z")

</div>

If I have some electricity demand, it is reasonable to assume that it will be similar to the day before. So with hourly data, 24 steps before. Additional influences are also present: using StatsModels, DataFrames, GLM N…

---

## [Effects of using empty!(scene) in Makie.jl](https://discourse.julialang.org/t/effects-of-using-empty-scene-in-makie-jl/116570)

<div class="topic-metadata">

**Author:** [@Jeff\_Wack](https://discourse.julialang.org/u/Jeff_Wack)\
**Replies:** 2\
**Last updated:** [July 3, 2024, 5:03pm UTC](https://discourse.julialang.org/t/effects-of-using-empty-scene-in-makie-jl/116570 "2024-07-03T17:03:59Z")

</div>

The following script throws an error: using CairoMakie s = Scene() scatter!(s,\[0,0,1/2,1/2\],\[0,1/2,0,1/2\]) display(s) empty!(s) scatter!(s,\[0,0,-1/2,-1/2\],\[0,-1/2,0,-1/2\]) display(s) KeyError: key :markercolor…

---

## [Problem constructing reaction system from SBML Biomodel](https://discourse.julialang.org/t/problem-constructing-reaction-system-from-sbml-biomodel/116548)

<div class="topic-metadata">

**Author:** [@jchitpin](https://discourse.julialang.org/u/jchitpin)\
**Replies:** 2\
**Last updated:** [July 3, 2024, 1:16pm UTC](https://discourse.julialang.org/t/problem-constructing-reaction-system-from-sbml-biomodel/116548 "2024-07-03T13:16:12Z")

</div>

I am encountering difficulties loading an SBML file from BioModels (see here). Following the SBMLToolKit instructions, I loaded the SBML file but am having issues constructing the reaction system with warnings that certa…

---

## [Alternatives to inv() in Julia](https://discourse.julialang.org/t/alternatives-to-inv-in-julia/116514)

<div class="topic-metadata">

**Author:** [@usaer](https://discourse.julialang.org/u/usaer)\
**Replies:** 4\
**Last updated:** [July 3, 2024, 9:08am UTC](https://discourse.julialang.org/t/alternatives-to-inv-in-julia/116514 "2024-07-03T09:08:06Z")

</div>

Hi, I wanted to ask if there more optimal way w.r.t to Performance to find the inverse of a matrix than inv() from Linear Algebra package

---

## [How to modify the axis in a recipe](https://discourse.julialang.org/t/how-to-modify-the-axis-in-a-recipe/116405)

<div class="topic-metadata">

**Author:** [@Jeff\_Wack](https://discourse.julialang.org/u/Jeff_Wack)\
**Replies:** 1\
**Last updated:** [July 3, 2024, 8:22am UTC](https://discourse.julialang.org/t/how-to-modify-the-axis-in-a-recipe/116405 "2024-07-03T08:22:49Z")

</div>

I am trying to create a Makie recipe to make a plot from a custom datatype. In these plots I would like to have a completely blank white background, in other words have no visible axis. Normally to make a plot like this…

---

## [Set as zero low values in symbolic expressions](https://discourse.julialang.org/t/set-as-zero-low-values-in-symbolic-expressions/114793)

<div class="topic-metadata">

**Author:** [@GiorgioSimonini](https://discourse.julialang.org/u/GiorgioSimonini)\
**Replies:** 3\
**Last updated:** [July 3, 2024, 6:59am UTC](https://discourse.julialang.org/t/set-as-zero-low-values-in-symbolic-expressions/114793 "2024-07-03T06:59:14Z")

</div>

Hello everyone, I am seeking a way to simplify a symbolic expression setting as zero floating point numbers that are below a certain threshold. For example the expression ‘1e-17\*x + y’ should return ‘y’. I tried to us…

---

## [How can I plot a scatter plot over a heatmap with a different color gradient?](https://discourse.julialang.org/t/how-can-i-plot-a-scatter-plot-over-a-heatmap-with-a-different-color-gradient/116493)

<div class="topic-metadata">

**Author:** [@schwob](https://discourse.julialang.org/u/schwob)\
**Replies:** 8\
**Last updated:** [July 2, 2024, 8:04pm UTC](https://discourse.julialang.org/t/how-can-i-plot-a-scatter-plot-over-a-heatmap-with-a-different-color-gradient/116493 "2024-07-02T20:04:15Z")

</div>

I want to overlay a scatter plot onto a heatmap, where the points in the scatter plot are colored based on values at those points. If the values of the scatter points are in the same range as the heatmap’s values, this i…

---

## [Custom divergent colormap with unequal sides](https://discourse.julialang.org/t/custom-divergent-colormap-with-unequal-sides/115484)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 10\
**Last updated:** [July 2, 2024, 2:35pm UTC](https://discourse.julialang.org/t/custom-divergent-colormap-with-unequal-sides/115484 "2024-07-02T14:35:44Z")

</div>

I am working with Makie.jl and I wish to create a custom colormap. Taking any divergent colormap provided by Makie, such as :balance for example, I want to make a colormap that has the same colors as :balance or :delta, …

---

## [Wrong largest Lyapunov exponent?](https://discourse.julialang.org/t/wrong-largest-lyapunov-exponent/116523)

<div class="topic-metadata">

**Author:** [@rpalmaa](https://discourse.julialang.org/u/rpalmaa)\
**Replies:** 0\
**Last updated:** [July 2, 2024, 1:32pm UTC](https://discourse.julialang.org/t/wrong-largest-lyapunov-exponent/116523 "2024-07-02T13:32:55Z")

</div>

I’m calculating the Lyapunov exponents of the Rössler oscillator using chaostools lyapunovspectrum, but I’m getting a weird result: For the fixed point, the largest Lyapunov exponent (LLE) is smaller than the LLE for th…

---

## [Running agents.jl model with run!()](https://discourse.julialang.org/t/running-agents-jl-model-with-run/116477)

<div class="topic-metadata">

**Author:** [@Sahil\_Khan](https://discourse.julialang.org/u/Sahil_Khan)\
**Replies:** 6\
**Last updated:** [July 2, 2024, 1:01pm UTC](https://discourse.julialang.org/t/running-agents-jl-model-with-run/116477 "2024-07-02T13:01:10Z")

</div>

How can I avoid saving data after run in agent based model. I thought if we don’t give adata. It should automatically not save data and its not saving as in end dataframes are 0\*0 in size but its taking same amount of t…

---

## [How to make a numeric list in Literate.jl](https://discourse.julialang.org/t/how-to-make-a-numeric-list-in-literate-jl/116517)

<div class="topic-metadata">

**Author:** [@vladdez](https://discourse.julialang.org/u/vladdez)\
**Replies:** 0\
**Last updated:** [July 2, 2024, 11:59am UTC](https://discourse.julialang.org/t/how-to-make-a-numeric-list-in-literate-jl/116517 "2024-07-02T11:59:35Z")

</div>

In Literate.jl I just want to make number list 1. 2. 3. And as pictures below show it doesn’t work. How to solve this?

---

## [Finding roots of an integral equation](https://discourse.julialang.org/t/finding-roots-of-an-integral-equation/116503)

<div class="topic-metadata">

**Author:** [@mpirke](https://discourse.julialang.org/u/mpirke)\
**Replies:** 4\
**Last updated:** [July 2, 2024, 11:26am UTC](https://discourse.julialang.org/t/finding-roots-of-an-integral-equation/116503 "2024-07-02T11:26:14Z")

</div>

Hey out there! I am trying to solve to following problem. g(x) = \\int\_0^x f(y) dy - a I would like to find the roots. This should be easily solveable by Newtons Method, like the following: g'(x) = f(x) using …

---

## [ERROR: type NameState has no field symbolify\`](https://discourse.julialang.org/t/error-type-namestate-has-no-field-symbolify/116484)

<div class="topic-metadata">

**Author:** [@AndreaRH](https://discourse.julialang.org/u/AndreaRH)\
**Replies:** 2\
**Last updated:** [July 2, 2024, 9:42am UTC](https://discourse.julialang.org/t/error-type-namestate-has-no-field-symbolify/116484 "2024-07-02T09:42:37Z")

</div>

Hello, I ran into the following ERROR: type NameState has no field symbolify when trying to create an ODEProblem. The stack trace seemed to me impossible to decipher, any help would be appreciated! Example below: usi…

---

## [Is there a way to add padding between axis ticks and axis label in Plots.jl with gr?](https://discourse.julialang.org/t/is-there-a-way-to-add-padding-between-axis-ticks-and-axis-label-in-plots-jl-with-gr/116498)

<div class="topic-metadata">

**Author:** [@PeX](https://discourse.julialang.org/u/PeX)\
**Replies:** 5\
**Last updated:** [July 2, 2024, 8:09am UTC](https://discourse.julialang.org/t/is-there-a-way-to-add-padding-between-axis-ticks-and-axis-label-in-plots-jl-with-gr/116498 "2024-07-02T08:09:36Z")

</div>

Hi all! I’m using the GR backend to create a plot. The axis label is written with a LatexString, but for some reason, there is almost no space between the tick labels and the axis label. I’ve been trying for a while to …

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

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