# Specific Domains

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

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

**Page:** 305

---

## [Is there an efficient way that the xticks and yticks numbers appear in LaTeX using Makie?](https://discourse.julialang.org/t/is-there-an-efficient-way-that-the-xticks-and-yticks-numbers-appear-in-latex-using-makie/76064)

<div class="topic-metadata">

**Author:** [@RayleighLord](https://discourse.julialang.org/u/RayleighLord)\
**Replies:** 4\
**Last updated:** [February 9, 2022, 1:01pm UTC](https://discourse.julialang.org/t/is-there-an-efficient-way-that-the-xticks-and-yticks-numbers-appear-in-latex-using-makie/76064 "2022-02-09T13:01:36Z")

</div>

I open this question because I have not been able to set the Computer Modern font in Makie. The only workaround I found to write the numbers of the x and y axis in LaTeX is to extract the attribute from the plot that con…

---

## [Profiling Julia CUDA code missing 'CUDA HW'](https://discourse.julialang.org/t/profiling-julia-cuda-code-missing-cuda-hw/76061)

<div class="topic-metadata">

**Author:** [@torrance](https://discourse.julialang.org/u/torrance)\
**Replies:** 7\
**Last updated:** [February 9, 2022, 9:46am UTC](https://discourse.julialang.org/t/profiling-julia-cuda-code-missing-cuda-hw/76061 "2022-02-09T09:46:17Z")

</div>

I’m attempting to profile a custom CUDA kernel using NVIDIA’s nsight-systems (ie. nsys), as recommended by the CUDA.jl project. nsys correctly gives me profiling results for nvcc compiled code, however when I run it aga…

---

## [Unconditionally stable numerical solution of advection equation](https://discourse.julialang.org/t/unconditionally-stable-numerical-solution-of-advection-equation/75935)

<div class="topic-metadata">

**Author:** [@fedoroff](https://discourse.julialang.org/u/fedoroff)\
**Replies:** 8\
**Last updated:** [February 9, 2022, 6:58am UTC](https://discourse.julialang.org/t/unconditionally-stable-numerical-solution-of-advection-equation/75935 "2022-02-09T06:58:58Z")

</div>

Hello, Can you please recommend me some method (preferably unconditionally stable) of solving an advection equation of the following type: \\displaystyle \\frac{\\partial u}{\\partial t} + a(x,t) \\frac{\\partial u}{\\partial…

---

## [Plot recipe for existing series type and own type](https://discourse.julialang.org/t/plot-recipe-for-existing-series-type-and-own-type/23902)

<div class="topic-metadata">

**Author:** [@moesphere](https://discourse.julialang.org/u/moesphere)\
**Replies:** 4\
**Last updated:** [February 8, 2022, 6:33pm UTC](https://discourse.julialang.org/t/plot-recipe-for-existing-series-type-and-own-type/23902 "2022-02-08T18:33:26Z")

</div>

I am slightly confused how to properly add a plot recipe for a corrplot of an own-defined type. Suppose that I have defined the following type struct MyType x::DataFrame end I would now like to have a corrplot for cer…

---

## [How to obtain literal value of colors from the color cycle in Makie.jl?](https://discourse.julialang.org/t/how-to-obtain-literal-value-of-colors-from-the-color-cycle-in-makie-jl/75413)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 1\
**Last updated:** [February 8, 2022, 4:10pm UTC](https://discourse.julialang.org/t/how-to-obtain-literal-value-of-colors-from-the-color-cycle-in-makie-jl/75413 "2022-02-08T16:10:43Z")

</div>

How to I obtain the n -th color of the color cycle in literal value? I know I can do Cycled(n) , but how do I get its value? Like "#abcdefg" or whatever it is.

---

## [Machine Learning using Julia - Aim/Idealogy of Flux.jl to for simplicity over compexity for programmers](https://discourse.julialang.org/t/machine-learning-using-julia-aim-idealogy-of-flux-jl-to-for-simplicity-over-compexity-for-programmers/75602)

<div class="topic-metadata">

**Author:** [@arcAman07](https://discourse.julialang.org/u/arcAman07)\
**Replies:** 11\
**Last updated:** [February 8, 2022, 1:51pm UTC](https://discourse.julialang.org/t/machine-learning-using-julia-aim-idealogy-of-flux-jl-to-for-simplicity-over-compexity-for-programmers/75602 "2022-02-08T13:51:27Z")

</div>

I had one question while learning Flux.jl library, what is the reason behind the minimal complexity/implementation ( less things done behind the hood ) by Flux.jl? Why isn’t Flux aiming to be something like tensorfl…

---

## [Can not Run nonlinear optimization example using Ipopt](https://discourse.julialang.org/t/can-not-run-nonlinear-optimization-example-using-ipopt/75998)

<div class="topic-metadata">

**Author:** [@Jian\_ZUO](https://discourse.julialang.org/u/Jian_ZUO)\
**Replies:** 3\
**Last updated:** [February 8, 2022, 1:48pm UTC](https://discourse.julialang.org/t/can-not-run-nonlinear-optimization-example-using-ipopt/75998 "2022-02-08T13:48:03Z")

</div>

I am new to Julia and recently try to learn to do optimization using JuMP. I use the Quadratically constrained programs example in JuMP document website. using JuMP import Ipopt import Test function example\_qcp(; …

---

## [Possibility of reducing memory usage EnsembleProblem](https://discourse.julialang.org/t/possibility-of-reducing-memory-usage-ensembleproblem/76019)

<div class="topic-metadata">

**Author:** [@Brent](https://discourse.julialang.org/u/Brent)\
**Replies:** 1\
**Last updated:** [February 8, 2022, 1:22pm UTC](https://discourse.julialang.org/t/possibility-of-reducing-memory-usage-ensembleproblem/76019 "2022-02-08T13:22:06Z")

</div>

I was wondering if it is possible to reduce the memory usage of an EnsembleProblem for large numbers of trajectories, for instance by saving to a file between batches. I’m currently running into the issue of being limite…

---

## [Modeling gaussian process with Turing.jl](https://discourse.julialang.org/t/modeling-gaussian-process-with-turing-jl/76001)

<div class="topic-metadata">

**Author:** [@RickandMortyforever](https://discourse.julialang.org/u/RickandMortyforever)\
**Replies:** 6\
**Last updated:** [February 8, 2022, 11:08am UTC](https://discourse.julialang.org/t/modeling-gaussian-process-with-turing-jl/76001 "2022-02-08T11:08:42Z")

</div>

Hi, I was trying to build a gaussian process model with Turing.jl I’ve read Gaussianprocesses.jl and Stheno.jl. They must be good. But for the purpose of learning, I’d like to go through step by step in frame of Turing…

---

## [Change transparecy of the spines in Makie plots](https://discourse.julialang.org/t/change-transparecy-of-the-spines-in-makie-plots/76002)

<div class="topic-metadata">

**Author:** [@RayleighLord](https://discourse.julialang.org/u/RayleighLord)\
**Replies:** 2\
**Last updated:** [February 8, 2022, 9:11am UTC](https://discourse.julialang.org/t/change-transparecy-of-the-spines-in-makie-plots/76002 "2022-02-08T09:11:16Z")

</div>

Hello! This is my first question here so forgive me if I make some style typos. Maybe this is a very specific question, but I noticed that the spines in Makie have some transparecy since, even though they are colored in…

---

## [How to calculate cross-correlation on a 2D domain](https://discourse.julialang.org/t/how-to-calculate-cross-correlation-on-a-2d-domain/75161)

<div class="topic-metadata">

**Author:** [@Frazze](https://discourse.julialang.org/u/Frazze)\
**Replies:** 18\
**Last updated:** [February 6, 2022, 8:23pm UTC](https://discourse.julialang.org/t/how-to-calculate-cross-correlation-on-a-2d-domain/75161 "2022-02-06T20:23:50Z")

</div>

Hi everyone, I’m studying a scalar field u(x,t) on a 2D box LxL, with periodic boundary conditions. What I would like to do is to calculate the cross-correlation between u(x,t1) and u(x+r,t1) at varying of r, where r i…

---

## [Solving MPC using JuMP and Gurobi](https://discourse.julialang.org/t/solving-mpc-using-jump-and-gurobi/75962)

<div class="topic-metadata">

**Author:** [@alre5639](https://discourse.julialang.org/u/alre5639)\
**Replies:** 3\
**Last updated:** [February 7, 2022, 9:55pm UTC](https://discourse.julialang.org/t/solving-mpc-using-jump-and-gurobi/75962 "2022-02-07T21:55:06Z")

</div>

I am attempting to translate the MPC implemented in python and cvxpy here in Julia using JuMP and Gurobi. However when attempting to solve the first iteration of the optimization I set up I am getting an unconstrained/i…

---

## [Makie - mouseposition with respect to image plot](https://discourse.julialang.org/t/makie-mouseposition-with-respect-to-image-plot/51268)

<div class="topic-metadata">

**Author:** [@arnief3](https://discourse.julialang.org/u/arnief3)\
**Replies:** 2\
**Last updated:** [February 7, 2022, 4:40pm UTC](https://discourse.julialang.org/t/makie-mouseposition-with-respect-to-image-plot/51268 "2022-02-07T16:40:08Z")

</div>

I am attempting to get the x, y position of a mouse click with respect to a plotted image. The code shown below is working except for a white border around the image. The returned x, y values include this border and the …

---

## [Best way to export Catalyst models to SBML format](https://discourse.julialang.org/t/best-way-to-export-catalyst-models-to-sbml-format/75951)

<div class="topic-metadata">

**Author:** [@Polina](https://discourse.julialang.org/u/Polina)\
**Replies:** 2\
**Last updated:** [February 7, 2022, 2:16pm UTC](https://discourse.julialang.org/t/best-way-to-export-catalyst-models-to-sbml-format/75951 "2022-02-07T14:16:59Z")

</div>

Hello! I know it is possible to import SBML to Catalyst ReactionSystem using https://github.com/SciML/SBMLToolkit.jl However, I’m having troubles to find out what is the best way to export Catalyst models to SBML forma…

---

## [Failed in test CUDA v3.8.0](https://discourse.julialang.org/t/failed-in-test-cuda-v3-8-0/75642)

<div class="topic-metadata">

**Author:** [@Jie](https://discourse.julialang.org/u/Jie)\
**Replies:** 8\
**Last updated:** [February 7, 2022, 1:17pm UTC](https://discourse.julialang.org/t/failed-in-test-cuda-v3-8-0/75642 "2022-02-07T13:17:13Z")

</div>

I have add CUDA. When I test CUDA, it failed Testing Running tests… ┌ Info: System information: │ CUDA toolkit 11.6, artifact installation │ NVIDIA driver 470.82.1, for CUDA 11.4 │ CUDA driver 11.6 │ │ Libraries: …

---

## [Reporting allocations per stream in multithread CUDA.jl application](https://discourse.julialang.org/t/reporting-allocations-per-stream-in-multithread-cuda-jl-application/75866)

<div class="topic-metadata">

**Author:** [@jpdoane](https://discourse.julialang.org/u/jpdoane)\
**Replies:** 1\
**Last updated:** [February 7, 2022, 9:50am UTC](https://discourse.julialang.org/t/reporting-allocations-per-stream-in-multithread-cuda-jl-application/75866 "2022-02-07T09:50:32Z")

</div>

Is there a reliable way to monitor CUDA.jl allocations for each stream in a multithreaded application? In trying to track down the source of some excessive allocations using @CUDA.time macros, I am seeing some operations…

---

## [Fraction bar is not visible in Makie plot with text! and annotations! methods](https://discourse.julialang.org/t/fraction-bar-is-not-visible-in-makie-plot-with-text-and-annotations-methods/75938)

<div class="topic-metadata">

**Author:** [@fnoessler](https://discourse.julialang.org/u/fnoessler)\
**Replies:** 0\
**Last updated:** [February 7, 2022, 9:16am UTC](https://discourse.julialang.org/t/fraction-bar-is-not-visible-in-makie-plot-with-text-and-annotations-methods/75938 "2022-02-07T09:16:49Z")

</div>

Hello, I tried to insert an equation with the text! and annotations! methods in Makie. Unfortunately, the fraction bar is not visible for me. However, the fraction bar is visible in the Axis title, xlabel, ylabel and th…

---

## [Complex Number Support in NLSolve](https://discourse.julialang.org/t/complex-number-support-in-nlsolve/36748)

<div class="topic-metadata">

**Author:** [@ccoffrin](https://discourse.julialang.org/u/ccoffrin)\
**Replies:** 0\
**Last updated:** [March 30, 2020, 3:17pm UTC](https://discourse.julialang.org/t/complex-number-support-in-nlsolve/36748 "2020-03-30T15:17:59Z")

</div>

What is the scope of complex number support in NLSolve? I found an example in this issue, Allow complex numbers · Issue #112 · JuliaNLSolvers/NLsolve.jl · GitHub using NLsolve function f!(x, fvec) fvec\[1\] = (x\[1\]+…

---

## [Change datatype for subset of DataFrame columns](https://discourse.julialang.org/t/change-datatype-for-subset-of-dataframe-columns/75767)

<div class="topic-metadata">

**Author:** [@enzomar](https://discourse.julialang.org/u/enzomar)\
**Replies:** 6\
**Last updated:** [February 6, 2022, 8:21pm UTC](https://discourse.julialang.org/t/change-datatype-for-subset-of-dataframe-columns/75767 "2022-02-06T20:21:45Z")

</div>

Suppose I have this dataframe: df = DataFrame(A = Any\[rand() for i in 1:10\], B = \[“a”,“b”,“c”,“d”,“e”,“f”,“g”,“h”,“i”,“j”\], C = Any\[rand() for i in 1:10\]) I want to change the datatype of columns A and B programmatical…

---

## [AutoDiff of function inverse?](https://discourse.julialang.org/t/autodiff-of-function-inverse/75868)

<div class="topic-metadata">

**Author:** [@weymouth](https://discourse.julialang.org/u/weymouth)\
**Replies:** 5\
**Last updated:** [February 5, 2022, 6:55pm UTC](https://discourse.julialang.org/t/autodiff-of-function-inverse/75868 "2022-02-05T18:55:24Z")

</div>

I am using a time-dependent invertible map to define a moving geometry: ξ=f(x,t) where ξ,x have the same dimension. For example, this might be a time-varying shift and rotation ξ=R(θ(t))\*(x-x₀(t)), or it might be somethi…

---

## [How to use Python library in Julia?](https://discourse.julialang.org/t/how-to-use-python-library-in-julia/75644)

<div class="topic-metadata">

**Author:** [@YitaoCai](https://discourse.julialang.org/u/YitaoCai)\
**Replies:** 9\
**Last updated:** [February 5, 2022, 5:42pm UTC](https://discourse.julialang.org/t/how-to-use-python-library-in-julia/75644 "2022-02-05T17:42:24Z")

</div>

I was wondering how can I use this package https://github.com/DeepGraphLearning/ConfGF in Julia by using PyCall.jl or PythonCall.jl? this is how to use this package in python. I want to do it in Julia, is it feasible? …

---

## [How to create GraphMakie with WGLMakie?](https://discourse.julialang.org/t/how-to-create-graphmakie-with-wglmakie/75865)

<div class="topic-metadata">

**Author:** [@matic\_lauko](https://discourse.julialang.org/u/matic_lauko)\
**Replies:** 3\
**Last updated:** [February 5, 2022, 5:02pm UTC](https://discourse.julialang.org/t/how-to-create-graphmakie-with-wglmakie/75865 "2022-02-05T17:02:41Z")

</div>

I don’t have a GPU to use Makie, so I have to use WGLMakie, can I use GraphMakie with it? How? Thank you for your advice.

---

## [Poisson regression in Turing](https://discourse.julialang.org/t/poisson-regression-in-turing/75839)

<div class="topic-metadata">

**Author:** [@PeetoomHeida](https://discourse.julialang.org/u/PeetoomHeida)\
**Replies:** 2\
**Last updated:** [February 5, 2022, 4:54pm UTC](https://discourse.julialang.org/t/poisson-regression-in-turing/75839 "2022-02-05T16:54:21Z")

</div>

I am trying to modify the example Poisson regression to suit my own needs. I am running into an issue in the for loop and likelihood expression in the model definition. The following is my script: using DataFrames, Turi…

---

## [Schedule agents by type](https://discourse.julialang.org/t/schedule-agents-by-type/75858)

<div class="topic-metadata">

**Author:** [@imantha](https://discourse.julialang.org/u/imantha)\
**Replies:** 1\
**Last updated:** [February 5, 2022, 3:26pm UTC](https://discourse.julialang.org/t/schedule-agents-by-type/75858 "2022-02-05T15:26:00Z")

</div>

Hi, I am wondering whether there is a way to get a list of agents by their type? For example if there are two types of agents mutable struct Casualty \<: AbstractAgent ... end mutable struct Rescuer \<: Abstract A…

---

## [High precision summation functions not compatible with Optim.jl with autodiff=:forward](https://discourse.julialang.org/t/high-precision-summation-functions-not-compatible-with-optim-jl-with-autodiff-forward/75714)

<div class="topic-metadata">

**Author:** [@HJW019](https://discourse.julialang.org/u/HJW019)\
**Replies:** 9\
**Last updated:** [February 5, 2022, 2:36pm UTC](https://discourse.julialang.org/t/high-precision-summation-functions-not-compatible-with-optim-jl-with-autodiff-forward/75714 "2022-02-05T14:36:10Z")

</div>

I am doing high dimensional Monte Carlo integrations in a maximum likelihood estimation using Optim.jl with the autodiff = :forward option (based on ForwardDiff.jl). I use up to millions of quasi-random draws (e.g., Halt…

---

## [Hide colorbar axis and add top and bottom label in Plots.jl](https://discourse.julialang.org/t/hide-colorbar-axis-and-add-top-and-bottom-label-in-plots-jl/24592)

<div class="topic-metadata">

**Author:** [@babaq](https://discourse.julialang.org/u/babaq)\
**Replies:** 1\
**Last updated:** [February 5, 2022, 12:49pm UTC](https://discourse.julialang.org/t/hide-colorbar-axis-and-add-top-and-bottom-label-in-plots-jl/24592 "2022-02-05T12:49:34Z")

</div>

Hi, I am trying to plot a heatmap with a colorbar, but I want to hide the axis lines and tick numbers, and add labels on top and bottom of the colorbar. I could achieve this, heatmap(rand(10,10),color=:RdBu,colorbar\_t…

---

## [Problem realization of PCA](https://discourse.julialang.org/t/problem-realization-of-pca/75793)

<div class="topic-metadata">

**Author:** [@Sarah](https://discourse.julialang.org/u/Sarah)\
**Replies:** 2\
**Last updated:** [February 4, 2022, 9:59pm UTC](https://discourse.julialang.org/t/problem-realization-of-pca/75793 "2022-02-04T21:59:27Z")

</div>

Hi everyone! I’m new with Julia. I wanted to realise a PCA on Julia on the “iris” dataset, however I don’t understand why Julia doesn’t recognize my packages. I installed every needed package. Could someone please hel…

---

## [Poor performance of garbage collection in multi-threaded application](https://discourse.julialang.org/t/poor-performance-of-garbage-collection-in-multi-threaded-application/75493)

<div class="topic-metadata">

**Author:** [@racinmat](https://discourse.julialang.org/u/racinmat)\
**Replies:** 22\
**Last updated:** [February 3, 2022, 11:35pm UTC](https://discourse.julialang.org/t/poor-performance-of-garbage-collection-in-multi-threaded-application/75493 "2022-02-03T23:35:15Z")

</div>

Hi, I have a tricky problem bothering me: I am using julia 1.5 with HTTP.jl and Mux.jl, I added multi-threading support in a manner as MusicAlbums.jl/Workers.jl at master · quinnj/MusicAlbums.jl (github.com), but compa…

---

## [Need some help on sampler error with simple linear regression](https://discourse.julialang.org/t/need-some-help-on-sampler-error-with-simple-linear-regression/75805)

<div class="topic-metadata">

**Author:** [@RickandMortyforever](https://discourse.julialang.org/u/RickandMortyforever)\
**Replies:** 2\
**Last updated:** [February 5, 2022, 1:49am UTC](https://discourse.julialang.org/t/need-some-help-on-sampler-error-with-simple-linear-regression/75805 "2022-02-05T01:49:43Z")

</div>

After watching Statistical Rethinking lecture about linear regression, I tried to follow the steps with other data using Turing. Also I looked up this reference. GitHub - StatisticalRethinkingJulia/SR2TuringPluto.jl: St…

---

## [Integrate High Dimension highly oscillating integral](https://discourse.julialang.org/t/integrate-high-dimension-highly-oscillating-integral/75825)

<div class="topic-metadata">

**Author:** [@CollinsPeriodLee](https://discourse.julialang.org/u/CollinsPeriodLee)\
**Replies:** 2\
**Last updated:** [February 4, 2022, 11:13pm UTC](https://discourse.julialang.org/t/integrate-high-dimension-highly-oscillating-integral/75825 "2022-02-04T23:13:16Z")

</div>

Hi, everyone, I’m considering to compute the integral for d\>2. I have already read the paper QUADRATURE METHODS FOR MULTIVARIATE HIGHLY OSCILLATORY INTEGRALS USING DERIVATIVES and noticed that for d=2, there is a doa…

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

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