# Specific Domains

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

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

**Page:** 118

---

## [How to test custom \`show\_data\` for \`DataInspector\` in \`Makie\`](https://discourse.julialang.org/t/how-to-test-custom-show-data-for-datainspector-in-makie/113281)

<div class="topic-metadata">

**Author:** [@BambOoxX](https://discourse.julialang.org/u/BambOoxX)\
**Replies:** 0\
**Last updated:** [April 20, 2024, 9:34pm UTC](https://discourse.julialang.org/t/how-to-test-custom-show-data-for-datainspector-in-makie/113281 "2024-04-20T21:34:26Z")

</div>

Hello all ! This page provides information on how to write your own sho\_data for DataInspector in Makie. However, there is no information on how to test such interactive features properly. Given that one should hover o…

---

## [Id error on creating an agent](https://discourse.julialang.org/t/id-error-on-creating-an-agent/113270)

<div class="topic-metadata">

**Author:** [@stefkuypers](https://discourse.julialang.org/u/stefkuypers)\
**Replies:** 1\
**Last updated:** [April 20, 2024, 12:24pm UTC](https://discourse.julialang.org/t/id-error-on-creating-an-agent/113270 "2024-04-20T12:24:31Z")

</div>

I am in the process of updating my code for the Agents.jl 6.x package and I’m running into some trouble. I have the following Agents structures: @agent struct Actor(NoSpaceAgent) types::Set{Symbol} = Set{Symbol}() …

---

## [One dimensional autoencoder as a way to refine (or evaluate) cluster analysis](https://discourse.julialang.org/t/one-dimensional-autoencoder-as-a-way-to-refine-or-evaluate-cluster-analysis/112875)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 1\
**Last updated:** [April 20, 2024, 11:54am UTC](https://discourse.julialang.org/t/one-dimensional-autoencoder-as-a-way-to-refine-or-evaluate-cluster-analysis/112875 "2024-04-20T11:54:06Z")

</div>

Is it correct (and do you have references I can use in order to "sit on the giant’s shoulders…) to use 1-D autoencoders output to analyse the heterogeneity of my data, a bit like the cluster analysis but clusters maps th…

---

## [Linear Quadratic Integrator](https://discourse.julialang.org/t/linear-quadratic-integrator/113245)

<div class="topic-metadata">

**Author:** [@iabraham](https://discourse.julialang.org/u/iabraham)\
**Replies:** 3\
**Last updated:** [April 20, 2024, 8:52am UTC](https://discourse.julialang.org/t/linear-quadratic-integrator/113245 "2024-04-20T08:52:14Z")

</div>

The ControlSystems package seems to provide a lqr function for the LQR problem. I was wondering whether there was any plans to provide the lqi function for the Linear Quadratic Integrator problem. - e.g. Scilab or MATLAB …

---

## [How to define some predefined values to some part of the domain in gridap](https://discourse.julialang.org/t/how-to-define-some-predefined-values-to-some-part-of-the-domain-in-gridap/113254)

<div class="topic-metadata">

**Author:** [@mary](https://discourse.julialang.org/u/mary)\
**Replies:** 0\
**Last updated:** [April 19, 2024, 9:38pm UTC](https://discourse.julialang.org/t/how-to-define-some-predefined-values-to-some-part-of-the-domain-in-gridap/113254 "2024-04-19T21:38:56Z")

</div>

Hi, I have a domain and I want to solve the pde to get the displacement and phase field. meanwhile I want to set the value of phase field in 3 surfaces near the supports and load line as 1 (s=1) I wrote this in julia u…

---

## [How to construct a matrix of gradients depending on nodal locations in gridap](https://discourse.julialang.org/t/how-to-construct-a-matrix-of-gradients-depending-on-nodal-locations-in-gridap/113255)

<div class="topic-metadata">

**Author:** [@mary](https://discourse.julialang.org/u/mary)\
**Replies:** 0\
**Last updated:** [April 19, 2024, 9:52pm UTC](https://discourse.julialang.org/t/how-to-construct-a-matrix-of-gradients-depending-on-nodal-locations-in-gridap/113255 "2024-04-19T21:52:55Z")

</div>

Hi, I want to calculate the gradients of residuals(displacement) with respect to another vector. based on mathematical calculations, as residuals are a vector this gradient should be a matrix. This matrix should has val…

---

## [Tick direction in Makie](https://discourse.julialang.org/t/tick-direction-in-makie/74856)

<div class="topic-metadata">

**Author:** [@garrek](https://discourse.julialang.org/u/garrek)\
**Replies:** 7\
**Last updated:** [April 19, 2024, 10:00pm UTC](https://discourse.julialang.org/t/tick-direction-in-makie/74856 "2024-04-19T22:00:03Z")

</div>

Is there a way to change the tick direction? The default is that ticks are outside the axes. I would like them to be inside, but I cannot seem to find anything about this in the documentation.

---

## [Copulas.jl + Turing.jl - numerical stability?](https://discourse.julialang.org/t/copulas-jl-turing-jl-numerical-stability/113243)

<div class="topic-metadata">

**Author:** [@Domenic\_Di\_Francesco](https://discourse.julialang.org/u/Domenic_Di_Francesco)\
**Replies:** 6\
**Last updated:** [April 19, 2024, 9:44pm UTC](https://discourse.julialang.org/t/copulas-jl-turing-jl-numerical-stability/113243 "2024-04-19T21:44:09Z")

</div>

Hi all, I am a big fan of both libraries, but when I try to include copulas in probabilistic (Turing) models, I often get errors related to quantities being out of bounds. I have included a simple example below. The be…

---

## [Printing specific unicode character in otf file using MathTeXEngine](https://discourse.julialang.org/t/printing-specific-unicode-character-in-otf-file-using-mathtexengine/113252)

<div class="topic-metadata">

**Author:** [@maxee](https://discourse.julialang.org/u/maxee)\
**Replies:** 1\
**Last updated:** [April 19, 2024, 8:59pm UTC](https://discourse.julialang.org/t/printing-specific-unicode-character-in-otf-file-using-mathtexengine/113252 "2024-04-19T20:59:46Z")

</div>

When using MathTeXEngine within Makie, I need to put a specific font for N in the graph. I am using \\mathcal{N} within LaTeX, and would like an N which looks similar. I cannot change the font for the LaTeX font. The mat…

---

## [How to correctly pick the index of heatmap cell?](https://discourse.julialang.org/t/how-to-correctly-pick-the-index-of-heatmap-cell/113230)

<div class="topic-metadata">

**Author:** [@vladdez](https://discourse.julialang.org/u/vladdez)\
**Replies:** 2\
**Last updated:** [April 19, 2024, 11:28am UTC](https://discourse.julialang.org/t/how-to-correctly-pick-the-index-of-heatmap-cell/113230 "2024-04-19T11:28:16Z")

</div>

My goal is to click the cell in heatmap and got its index. Currently it is implemented the following way on(events(f).mousebutton, priority = 2) do event if event.button == Mouse.left && event.action == Mouse…

---

## [Strange Makie Observable updating behavior within recipe](https://discourse.julialang.org/t/strange-makie-observable-updating-behavior-within-recipe/113225)

<div class="topic-metadata">

**Author:** [@BambOoxX](https://discourse.julialang.org/u/BambOoxX)\
**Replies:** 4\
**Last updated:** [April 19, 2024, 11:25am UTC](https://discourse.julialang.org/t/strange-makie-observable-updating-behavior-within-recipe/113225 "2024-04-19T11:25:24Z")

</div>

Hello all, I’m currently facing a strange error while using a custom recipe. This error only showed up with recent versions of Makie, but I could not find the source. Here is the problem, for meshscatters, Makie has onl…

---

## [Makie does not accept Vector{DataTime} types？](https://discourse.julialang.org/t/makie-does-not-accept-vector-datatime-types/113218)

<div class="topic-metadata">

**Author:** [@dk-zen](https://discourse.julialang.org/u/dk-zen)\
**Replies:** 3\
**Last updated:** [April 19, 2024, 7:44am UTC](https://discourse.julialang.org/t/makie-does-not-accept-vector-datatime-types/113218 "2024-04-19T07:44:53Z")

</div>

Why doesn’t Makie accept DataTime type, DataTime type is often used. julia\> typeof(e) Vector{Float64} (alias for Array{Float64, 1}) julia\> typeof(time) Vector{DateTime} (alias for Array{DateTime, 1}) julia\> lines(time…

---

## [RFC: ClusteringAPI.jl](https://discourse.julialang.org/t/rfc-clusteringapi-jl/112258)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 27\
**Last updated:** [April 18, 2024, 9:11pm UTC](https://discourse.julialang.org/t/rfc-clusteringapi-jl/112258 "2024-04-18T21:11:54Z")

</div>

Hi all, this could go either in statistics, data, or machine learning domains, please share. Alright, so I was trying to test various different clustering algorithms to see which one best clusters my data. In doing so,…

---

## [How to get a feasible point of an arbitrary optimization model?](https://discourse.julialang.org/t/how-to-get-a-feasible-point-of-an-arbitrary-optimization-model/112513)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 8\
**Last updated:** [April 18, 2024, 7:44pm UTC](https://discourse.julialang.org/t/how-to-get-a-feasible-point-of-an-arbitrary-optimization-model/112513 "2024-04-18T19:44:10Z")

</div>

How to get a feasible point if the optimization model is not infeasible? If the model has no objective, I can do this by: using JuMP, HiGHS m = Model(HiGHS.Optimizer) @variable(m, x \<= 1) optimize!(m) value(x) But if …

---

## [Why is it consuming and not freeing GPU memory?](https://discourse.julialang.org/t/why-is-it-consuming-and-not-freeing-gpu-memory/113087)

<div class="topic-metadata">

**Author:** [@Ferran\_Mazzanti](https://discourse.julialang.org/u/Ferran_Mazzanti)\
**Replies:** 5\
**Last updated:** [April 18, 2024, 3:55pm UTC](https://discourse.julialang.org/t/why-is-it-consuming-and-not-freeing-gpu-memory/113087 "2024-04-18T15:55:25Z")

</div>

Hi, I’m running into something I do not understand. My simple CUDA code is taking memory all the time and not freeing it. A simple example: julia\> using CUDA julia\> CUDA.memory\_status() Effective GPU memory usage: 4.…

---

## [QuadGK unexpected behavior on first degree polynomial](https://discourse.julialang.org/t/quadgk-unexpected-behavior-on-first-degree-polynomial/113134)

<div class="topic-metadata">

**Author:** [@Domenico\_Lahaye](https://discourse.julialang.org/u/Domenico_Lahaye)\
**Replies:** 2\
**Last updated:** [April 18, 2024, 2:25pm UTC](https://discourse.julialang.org/t/quadgk-unexpected-behavior-on-first-degree-polynomial/113134 "2024-04-18T14:25:34Z")

</div>

I constructed a tiny example on which my (naive?) use of the quadgk() fails. The example is a first order polynomial in x and y on the triangular domain with vertices (0,0), (1,0) and (0,1). Below a working and failing M…

---

## [Bayesian inference with PINNs for ODEs with exogenous inputs taken from data](https://discourse.julialang.org/t/bayesian-inference-with-pinns-for-odes-with-exogenous-inputs-taken-from-data/112721)

<div class="topic-metadata">

**Author:** [@Alvaro98](https://discourse.julialang.org/u/Alvaro98)\
**Replies:** 5\
**Last updated:** [April 18, 2024, 1:57pm UTC](https://discourse.julialang.org/t/bayesian-inference-with-pinns-for-odes-with-exogenous-inputs-taken-from-data/112721 "2024-04-18T13:57:30Z")

</div>

First of all, I’m quite new to Julia and I would like to apologize if the question is too naïve, probably product of my limited understanding of how Julia handles this type of algorithms. Currently, I’m using Julia versi…

---

## [Many breakthroughs: Complex-valued transformer neural networks, or even "quaternion backpropagation", or none at all? Predictive coding](https://discourse.julialang.org/t/many-breakthroughs-complex-valued-transformer-neural-networks-or-even-quaternion-backpropagation-or-none-at-all-predictive-coding/113135)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 0\
**Last updated:** [April 18, 2024, 10:14am UTC](https://discourse.julialang.org/t/many-breakthroughs-complex-valued-transformer-neural-networks-or-even-quaternion-backpropagation-or-none-at-all-predictive-coding/113135 "2024-04-18T10:14:53Z")

</div>

\[I usually post ML stuff under in “offtopic” but I think I may get better answers/discussion here, I’m not asking for a solution to a very specific problem I have. I start with interesting practical developments then mor…

---

## [There are currently 0 solution(s) in the model](https://discourse.julialang.org/t/there-are-currently-0-solution-s-in-the-model/113072)

<div class="topic-metadata">

**Author:** [@IgorESMelo](https://discourse.julialang.org/u/IgorESMelo)\
**Replies:** 1\
**Last updated:** [April 17, 2024, 9:11pm UTC](https://discourse.julialang.org/t/there-are-currently-0-solution-s-in-the-model/113072 "2024-04-17T21:11:47Z")

</div>

Hy everyone, I’m trying to solve an allocation problem. I have two objectives: (i) maximize the shift resiliences on a planning horizon and (ii) minimize the resilience variance across the shifts. So I coded the model …

---

## [Makie read legend color](https://discourse.julialang.org/t/makie-read-legend-color/113076)

<div class="topic-metadata">

**Author:** [@rongcuid](https://discourse.julialang.org/u/rongcuid)\
**Replies:** 3\
**Last updated:** [April 17, 2024, 6:12pm UTC](https://discourse.julialang.org/t/makie-read-legend-color/113076 "2024-04-17T18:12:42Z")

</div>

Is it possible to read back the colors from an existing Legend, or axis?

---

## [Using TensorOperations.jl when contracting tensors not following strict Einstein summation convention](https://discourse.julialang.org/t/using-tensoroperations-jl-when-contracting-tensors-not-following-strict-einstein-summation-convention/113034)

<div class="topic-metadata">

**Author:** [@Gattu\_Mytraya](https://discourse.julialang.org/u/Gattu_Mytraya)\
**Replies:** 8\
**Last updated:** [April 17, 2024, 12:47pm UTC](https://discourse.julialang.org/t/using-tensoroperations-jl-when-contracting-tensors-not-following-strict-einstein-summation-convention/113034 "2024-04-17T12:47:46Z")

</div>

I am trying to implement the following computation on a GPU. @tensor S\[i,j\] = A\[a1,j\]\*F\[a1,i,a2\]\*B\[a2,j\] As per the strict Einstein summation convention, this is not a valid expression as the index j appears twice on t…

---

## [Fixedpoints for one dimensonal ODE DynamicalSystems.jl](https://discourse.julialang.org/t/fixedpoints-for-one-dimensonal-ode-dynamicalsystems-jl/113065)

<div class="topic-metadata">

**Author:** [@Sergey\_Novak](https://discourse.julialang.org/u/Sergey_Novak)\
**Replies:** 0\
**Last updated:** [April 17, 2024, 12:35pm UTC](https://discourse.julialang.org/t/fixedpoints-for-one-dimensonal-ode-dynamicalsystems-jl/113065 "2024-04-17T12:35:17Z")

</div>

Hello, i try calculate fixed points for one dimensional ODE and get next error: ERROR: MethodError: no method matching /(::Int64, ::SMatrix{1, 1, IntervalArithmetic.Interval{Float64}, 1}) Closest candidates are: /(::…

---

## [Weird spike in time to determinant computation with size of matrx](https://discourse.julialang.org/t/weird-spike-in-time-to-determinant-computation-with-size-of-matrx/113059)

<div class="topic-metadata">

**Author:** [@Gattu\_Mytraya](https://discourse.julialang.org/u/Gattu_Mytraya)\
**Replies:** 2\
**Last updated:** [April 17, 2024, 12:09pm UTC](https://discourse.julialang.org/t/weird-spike-in-time-to-determinant-computation-with-size-of-matrx/113059 "2024-04-17T12:09:13Z")

</div>

On my university’s cluster (and not on my PC), I see this extremely weird scaling of time to compute determinants with the size of the matrix. For example, if I do this for dim in 96:1:104 @btime logdet(x) se…

---

## [Any variational bayesian package that allows user defined custom distribution (getq in turing)](https://discourse.julialang.org/t/any-variational-bayesian-package-that-allows-user-defined-custom-distribution-getq-in-turing/112946)

<div class="topic-metadata">

**Author:** [@swsw](https://discourse.julialang.org/u/swsw)\
**Replies:** 1\
**Last updated:** [April 17, 2024, 8:13am UTC](https://discourse.julialang.org/t/any-variational-bayesian-package-that-allows-user-defined-custom-distribution-getq-in-turing/112946 "2024-04-17T08:13:02Z")

</div>

Hi all, I wondered if there’s any package that allow the user to specify any kind of distribution as q(Z). I think in https://turinglang.org/v0.30/tutorials/09-variational-inference/ it is mentioned that by default the…

---

## [Drawing variables from truncated normal with mean as another variable](https://discourse.julialang.org/t/drawing-variables-from-truncated-normal-with-mean-as-another-variable/113044)

<div class="topic-metadata">

**Author:** [@gonzalo](https://discourse.julialang.org/u/gonzalo)\
**Replies:** 2\
**Last updated:** [April 17, 2024, 4:40am UTC](https://discourse.julialang.org/t/drawing-variables-from-truncated-normal-with-mean-as-another-variable/113044 "2024-04-17T04:40:56Z")

</div>

Hi All, I want to drawing random variables from truncated normal with mean as another variable. However it didn’t work and I got the following wrong message. Is there anyone who can help me with it? Gonzalo using Turi…

---

## [Makie - transformation of coordinates when using PolarAxis vs Axis](https://discourse.julialang.org/t/makie-transformation-of-coordinates-when-using-polaraxis-vs-axis/112989)

<div class="topic-metadata">

**Author:** [@BenjaminDoran](https://discourse.julialang.org/u/BenjaminDoran)\
**Replies:** 2\
**Last updated:** [April 17, 2024, 4:20am UTC](https://discourse.julialang.org/t/makie-transformation-of-coordinates-when-using-polaraxis-vs-axis/112989 "2024-04-17T04:20:40Z")

</div>

Is there a way to check in a makie plotting recipe what type of axis is being plotted on? I am trying to work on a plotting recipe for AbstractTrees with both ‘dendrogram’ layouts and circular layouts Ideally, a…

---

## [From Modelica source code to Julia](https://discourse.julialang.org/t/from-modelica-source-code-to-julia/80837)

<div class="topic-metadata">

**Author:** [@mzhenirovskyy](https://discourse.julialang.org/u/mzhenirovskyy)\
**Replies:** 15\
**Last updated:** [April 17, 2024, 2:06am UTC](https://discourse.julialang.org/t/from-modelica-source-code-to-julia/80837 "2024-04-17T02:06:26Z")

</div>

Hi All, Is there any way to import a Model from Modelica-file to Julia lang? I mean I have the model in the Modelica that can be simulated by Dymola. Of course, I can get the fmu compiled file and load it to Julia. But…

---

## [\`HiGHS.jl\` gives strange results](https://discourse.julialang.org/t/highs-jl-gives-strange-results/112995)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 3\
**Last updated:** [April 16, 2024, 10:02pm UTC](https://discourse.julialang.org/t/highs-jl-gives-strange-results/112995 "2024-04-16T22:02:02Z")

</div>

using JuMP, HiGHS ## Case-1 M1 = Model(HiGHS.Optimizer) @variable(M1, d\[1:2\]) g1 = @expression(M1, (1/100) \* (d\[1\] - 1)) g2 = @expression(M1, (1/100) \* (d\[2\] - 2)) @constraint(M1, 0 \<= g1 \<= 1) @constraint(M1, 0 \<= g2 \<=…

---

## [Makie recipe subplots?](https://discourse.julialang.org/t/makie-recipe-subplots/113037)

<div class="topic-metadata">

**Author:** [@rongcuid](https://discourse.julialang.org/u/rongcuid)\
**Replies:** 1\
**Last updated:** [April 16, 2024, 8:56pm UTC](https://discourse.julialang.org/t/makie-recipe-subplots/113037 "2024-04-16T20:56:29Z")

</div>

I could not figure this out, but does Makie recipe support making multiple subplots? For instance: function Makie.plot!(plt::MyPlot) lines!(plt\[1,1\], ...) scatter!(plt\[1,2\], ...) end

---

## [Undistort Points in Julia](https://discourse.julialang.org/t/undistort-points-in-julia/113027)

<div class="topic-metadata">

**Author:** [@dennispureza](https://discourse.julialang.org/u/dennispureza)\
**Replies:** 1\
**Last updated:** [April 16, 2024, 6:50pm UTC](https://discourse.julialang.org/t/undistort-points-in-julia/113027 "2024-04-16T18:50:45Z")

</div>

Hello everyone, I was looking for a Julia package with a function to undistort image points like Matlab’s undistortPoints(), and since I couldn’t find any, I am currently trying to code a function myself.I already have …

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

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