# Specific Domains

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

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

**Page:** 230

---

## [Issues implementing Copula regression using copula and Turing](https://discourse.julialang.org/t/issues-implementing-copula-regression-using-copula-and-turing/90907)

<div class="topic-metadata">

**Author:** [@Kokora](https://discourse.julialang.org/u/Kokora)\
**Replies:** 23\
**Last updated:** [December 10, 2022, 4:23pm UTC](https://discourse.julialang.org/t/issues-implementing-copula-regression-using-copula-and-turing/90907 "2022-12-10T16:23:49Z")

</div>

I am trying to implement a copula regression model by leveraging Turing and copulas in Julia. The author of copula implemented a nice working example as below using Copulas, Distributions, Random, Turing, Plots, StatsP…

---

## [Genie docs, tutorials, guidelines](https://discourse.julialang.org/t/genie-docs-tutorials-guidelines/90909)

<div class="topic-metadata">

**Author:** [@gudyrmik](https://discourse.julialang.org/u/gudyrmik)\
**Replies:** 5\
**Last updated:** [December 10, 2022, 10:36am UTC](https://discourse.julialang.org/t/genie-docs-tutorials-guidelines/90909 "2022-12-10T10:36:11Z")

</div>

Hello Julians! I’m designing an analytical financial application and I want all parts to be in pure-Julia. So my question is: what is the most developed and known tutorial for Genie at the moment? I’m not completely n…

---

## [Difference between two interpolation packages when evaluating derivatives: Interpolations.jl and Dierckx.jl](https://discourse.julialang.org/t/difference-between-two-interpolation-packages-when-evaluating-derivatives-interpolations-jl-and-dierckx-jl/61747)

<div class="topic-metadata">

**Author:** [@wsshin](https://discourse.julialang.org/u/wsshin)\
**Replies:** 5\
**Last updated:** [December 9, 2022, 9:16pm UTC](https://discourse.julialang.org/t/difference-between-two-interpolation-packages-when-evaluating-derivatives-interpolations-jl-and-dierckx-jl/61747 "2022-12-09T21:16:12Z")

</div>

Recently I had a chance to test two interpolation packages, Interpolations.jl and Dierckx.jl. I found a difference between the two packages in the way they treat the boundary points when evaluating derivatives. I think…

---

## [Missing Plots.pyrcparams in Plots version 1.37.2](https://discourse.julialang.org/t/missing-plots-pyrcparams-in-plots-version-1-37-2/91470)

<div class="topic-metadata">

**Author:** [@ntausend](https://discourse.julialang.org/u/ntausend)\
**Replies:** 5\
**Last updated:** [December 9, 2022, 3:00pm UTC](https://discourse.julialang.org/t/missing-plots-pyrcparams-in-plots-version-1-37-2/91470 "2022-12-09T15:00:14Z")

</div>

Hey all, in previous version of the Plots.jl package it was possible to configure the pyplot() backend using the Plots.pyrcparams. With this, one could use LaTex for the axis labels etc and also had full control over t…

---

## [Solving the direct geodesic problem with Proj.jl](https://discourse.julialang.org/t/solving-the-direct-geodesic-problem-with-proj-jl/91409)

<div class="topic-metadata">

**Author:** [@tcarion](https://discourse.julialang.org/u/tcarion)\
**Replies:** 3\
**Last updated:** [December 9, 2022, 7:47am UTC](https://discourse.julialang.org/t/solving-the-direct-geodesic-problem-with-proj-jl/91409 "2022-12-09T07:47:30Z")

</div>

Hi! I want to calculate the end point after moving some distance in some direction on an ellipsoid. I used to use the Proj4.jl function geod\_direct. As this higher level function has disappeared in Proj.jl, I’m trying …

---

## [Makie - Colorbar in plot recipe](https://discourse.julialang.org/t/makie-colorbar-in-plot-recipe/76564)

<div class="topic-metadata">

**Author:** [@rvezy](https://discourse.julialang.org/u/rvezy)\
**Replies:** 1\
**Last updated:** [December 9, 2022, 11:30am UTC](https://discourse.julialang.org/t/makie-colorbar-in-plot-recipe/76564 "2022-12-09T11:30:30Z")

</div>

TLDR: Is it possible to add a Colorbar directly inside a plot recipe ? I have a graph-like data structure called MTG where each node stores a mesh and attributes. I made a recipe that extends the MeshViz.jl Viz recipe t…

---

## [Display lines handle with variable color inside legend in Makie](https://discourse.julialang.org/t/display-lines-handle-with-variable-color-inside-legend-in-makie/91447)

<div class="topic-metadata">

**Author:** [@yhchang96](https://discourse.julialang.org/u/yhchang96)\
**Replies:** 1\
**Last updated:** [December 9, 2022, 9:33am UTC](https://discourse.julialang.org/t/display-lines-handle-with-variable-color-inside-legend-in-makie/91447 "2022-12-09T09:33:44Z")

</div>

using CairoMakie fig = Figure(resolution=(600,400)) ax = Axis(fig\[1, 1\]) xs = 0:0.01:10 ys = 0.5 .\* sin.(xs) lines!(ax, xs, ys, label="uniform color") lines!(ax, xs, ys .+ 1, color=ys.^2, label="variable color") axisl…

---

## [Easiest way to get CUDA.jl up and running](https://discourse.julialang.org/t/easiest-way-to-get-cuda-jl-up-and-running/91446)

<div class="topic-metadata">

**Author:** [@Yly](https://discourse.julialang.org/u/Yly)\
**Replies:** 1\
**Last updated:** [December 9, 2022, 8:33am UTC](https://discourse.julialang.org/t/easiest-way-to-get-cuda-jl-up-and-running/91446 "2022-12-09T08:33:41Z")

</div>

I have a Dell Inspiron 5558 with a Nvidia GeForce 920M running Linux Mint 18.2. I’m trying to get CUDA.jl running so I can use the GPU for Flux.jl. However, I’ve run into several issues. Calling CUDA.versioninfo() yie…

---

## [Save gif with a filename](https://discourse.julialang.org/t/save-gif-with-a-filename/91448)

<div class="topic-metadata">

**Author:** [@sky](https://discourse.julialang.org/u/sky)\
**Replies:** 2\
**Last updated:** [December 8, 2022, 10:28pm UTC](https://discourse.julialang.org/t/save-gif-with-a-filename/91448 "2022-12-08T22:28:22Z")

</div>

Hi everyone! I’m looking at creating gif in this link https://docs.juliaplots.org/latest/animations/ and I’m wondering how to save gif with a filename without using @animate. For example, the following code would gen…

---

## [JuMP: Constrain with quadratic equation](https://discourse.julialang.org/t/jump-constrain-with-quadratic-equation/91432)

<div class="topic-metadata">

**Author:** [@Gabsxk](https://discourse.julialang.org/u/Gabsxk)\
**Replies:** 3\
**Last updated:** [December 8, 2022, 6:36pm UTC](https://discourse.julialang.org/t/jump-constrain-with-quadratic-equation/91432 "2022-12-08T18:36:52Z")

</div>

How to solve a quadratic equation using JuMP? I was following the documentation, but the quadratic equations are not working.

---

## [Plotting each of the equations in an ODE system in a different figure window](https://discourse.julialang.org/t/plotting-each-of-the-equations-in-an-ode-system-in-a-different-figure-window/91404)

<div class="topic-metadata">

**Author:** [@jethro-djan](https://discourse.julialang.org/u/jethro-djan)\
**Replies:** 5\
**Last updated:** [December 8, 2022, 5:13pm UTC](https://discourse.julialang.org/t/plotting-each-of-the-equations-in-an-ode-system-in-a-different-figure-window/91404 "2022-12-08T17:13:00Z")

</div>

Hello everyone. I have solved a system of fractional ODEs using a tool I found on github and I want to plot it. The way I want to go about it is this: each solution in the system plotted against time and in different fi…

---

## [Makie screen blanks after mouse click-drag](https://discourse.julialang.org/t/makie-screen-blanks-after-mouse-click-drag/15145)

<div class="topic-metadata">

**Author:** [@jac299792458](https://discourse.julialang.org/u/jac299792458)\
**Replies:** 3\
**Last updated:** [September 19, 2018, 3:14pm UTC](https://discourse.julialang.org/t/makie-screen-blanks-after-mouse-click-drag/15145 "2018-09-19T15:14:37Z")

</div>

All, Has anyone encountered their scene going blank when the mouse click and drag? It’s inconsistent for me, and doesn’t spit out any error messages. There might be a correlation between the error and part of the scen…

---

## [Selecting specific group in a multiagent simulation with agents.jl](https://discourse.julialang.org/t/selecting-specific-group-in-a-multiagent-simulation-with-agents-jl/91421)

<div class="topic-metadata">

**Author:** [@indymnv](https://discourse.julialang.org/u/indymnv)\
**Replies:** 2\
**Last updated:** [December 8, 2022, 11:32am UTC](https://discourse.julialang.org/t/selecting-specific-group-in-a-multiagent-simulation-with-agents-jl/91421 "2022-12-08T11:32:11Z")

</div>

Hello people! I am building a simulation model with agents.jl of a city where any moment, there is an area that can be affected by an emergency with a specific probability, so if this is the case, I want to move an ambul…

---

## [Agents.jl: subset object returned from nearby\_positions](https://discourse.julialang.org/t/agents-jl-subset-object-returned-from-nearby-positions/91399)

<div class="topic-metadata">

**Author:** [@sea\_slug](https://discourse.julialang.org/u/sea_slug)\
**Replies:** 1\
**Last updated:** [December 8, 2022, 11:10am UTC](https://discourse.julialang.org/t/agents-jl-subset-object-returned-from-nearby-positions/91399 "2022-12-08T11:10:57Z")

</div>

I am making a predator-prey model, following the wolf-sheep example using Agents.jl. Following on from this question, instead of sheep moving to a random cell I am trying to make the sheep move to a cell that contains g…

---

## [Variable time-stepping and discontinuous gradients](https://discourse.julialang.org/t/variable-time-stepping-and-discontinuous-gradients/91382)

<div class="topic-metadata">

**Author:** [@nrontsis](https://discourse.julialang.org/u/nrontsis)\
**Replies:** 4\
**Last updated:** [December 8, 2022, 8:39am UTC](https://discourse.julialang.org/t/variable-time-stepping-and-discontinuous-gradients/91382 "2022-12-08T08:39:07Z")

</div>

I read here that in the context of “trajectory optimisation” or “optimal control”: One very important idea in numerical integration of differential equations is the use of variable-step integration … We typically avoid…

---

## [Relative text position in Makie in log scale](https://discourse.julialang.org/t/relative-text-position-in-makie-in-log-scale/91393)

<div class="topic-metadata">

**Author:** [@yhchang96](https://discourse.julialang.org/u/yhchang96)\
**Replies:** 2\
**Last updated:** [December 8, 2022, 7:43am UTC](https://discourse.julialang.org/t/relative-text-position-in-makie-in-log-scale/91393 "2022-12-08T07:43:13Z")

</div>

I want to specify the position of the text relative to the axis. I tried the following: fig = Figure() ax1 = Axis(fig\[1,1\], xscale=log10, yscale=log10) text!(ax1, 0.1, 0.9, text="testing", align=(:left, :top), space=:r…

---

## [InvalidIRError with CuArray broadcast when complex values are involved in Bessel functions](https://discourse.julialang.org/t/invalidirerror-with-cuarray-broadcast-when-complex-values-are-involved-in-bessel-functions/91312)

<div class="topic-metadata">

**Author:** [@jinml](https://discourse.julialang.org/u/jinml)\
**Replies:** 2\
**Last updated:** [December 8, 2022, 12:47am UTC](https://discourse.julialang.org/t/invalidirerror-with-cuarray-broadcast-when-complex-values-are-involved-in-bessel-functions/91312 "2022-12-08T00:47:51Z")

</div>

Hi, I’m receiving runtime errors from julia when playing with the following simple code \> \> julia\> using CUDA, SpecialFunctions \> \> julia\> function cutest(x::Float64,f::Float64) \> c=besselj0(f); \> return…

---

## [How to drop the Z-dim of a shape file](https://discourse.julialang.org/t/how-to-drop-the-z-dim-of-a-shape-file/91390)

<div class="topic-metadata">

**Author:** [@luraess](https://discourse.julialang.org/u/luraess)\
**Replies:** 1\
**Last updated:** [December 7, 2022, 10:20pm UTC](https://discourse.julialang.org/t/how-to-drop-the-z-dim-of-a-shape-file/91390 "2022-12-07T22:20:46Z")

</div>

I would like to rasterise and draw border of a polygon from a Shapefile as in this example from Rasters.jl. I load my Shapefile as following julia\> vd\_bord = Shapefile.Handle("data/Shapefiles/Vaud.shp").shapes\[1\] Shape…

---

## [Plot a line between two points](https://discourse.julialang.org/t/plot-a-line-between-two-points/91391)

<div class="topic-metadata">

**Author:** [@sky](https://discourse.julialang.org/u/sky)\
**Replies:** 4\
**Last updated:** [December 7, 2022, 9:10pm UTC](https://discourse.julialang.org/t/plot-a-line-between-two-points/91391 "2022-12-07T21:10:11Z")

</div>

Hi everyone! I’m trying to plot a line segment between two points, for example (1,2) and (2,3). I did plot(\[1.0 2.0\],\[2.0 3.0\], linewidth=2,legend=:false) However, nothing showed up. I’m using Julia 1.6.7.

---

## [The final position of Nonlinear optimization of trajectory is not on the desired position](https://discourse.julialang.org/t/the-final-position-of-nonlinear-optimization-of-trajectory-is-not-on-the-desired-position/90782)

<div class="topic-metadata">

**Author:** [@elliot000319](https://discourse.julialang.org/u/elliot000319)\
**Replies:** 6\
**Last updated:** [December 7, 2022, 7:40pm UTC](https://discourse.julialang.org/t/the-final-position-of-nonlinear-optimization-of-trajectory-is-not-on-the-desired-position/90782 "2022-12-07T19:40:22Z")

</div>

The starting position is set as \[1.0, 0.0\], and the desired position is \[-1,0\]. However, the object stops short before touching the desired position. The x coordinate gets close enough, but the issue is with the y coor…

---

## [Use middleware to log time it takes client to receive response](https://discourse.julialang.org/t/use-middleware-to-log-time-it-takes-client-to-receive-response/91250)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 4\
**Last updated:** [December 7, 2022, 6:24pm UTC](https://discourse.julialang.org/t/use-middleware-to-log-time-it-takes-client-to-receive-response/91250 "2022-12-07T18:24:05Z")

</div>

I’m trying to understand how to use HTTP.jl’s middleware to log the amount of time between two distinct events: The server started sending the response The client received it The following MWE doesn’t accomplish this,…

---

## [Makie - How does one plot a cube w/ rounded edges & corners?](https://discourse.julialang.org/t/makie-how-does-one-plot-a-cube-w-rounded-edges-corners/91360)

<div class="topic-metadata">

**Author:** [@Cougar](https://discourse.julialang.org/u/Cougar)\
**Replies:** 9\
**Last updated:** [December 7, 2022, 6:17pm UTC](https://discourse.julialang.org/t/makie-how-does-one-plot-a-cube-w-rounded-edges-corners/91360 "2022-12-07T18:17:56Z")

</div>

The following Julia program uses Makie to create the image shown below, a “cube with holes.” However, I would like to eliminate the holes, and also make the cube nearer the shape of an actual cube, with only slightly ro…

---

## [CUDA adapter for FFTW plan](https://discourse.julialang.org/t/cuda-adapter-for-fftw-plan/91353)

<div class="topic-metadata">

**Author:** [@fedoroff](https://discourse.julialang.org/u/fedoroff)\
**Replies:** 0\
**Last updated:** [December 7, 2022, 9:55am UTC](https://discourse.julialang.org/t/cuda-adapter-for-fftw-plan/91353 "2022-12-07T09:55:26Z")

</div>

I am writing a code where I want to use a custom structure inside CUDA kernel. Following the CUDA.jl manual (https://cuda.juliagpu.org/stable/tutorials/custom\_structs/), I need to write an Adapt.jl adapter for my struct…

---

## [Gurobi with Log constranints](https://discourse.julialang.org/t/gurobi-with-log-constranints/91316)

<div class="topic-metadata">

**Author:** [@mreguant](https://discourse.julialang.org/u/mreguant)\
**Replies:** 7\
**Last updated:** [December 6, 2022, 11:10pm UTC](https://discourse.julialang.org/t/gurobi-with-log-constranints/91316 "2022-12-06T23:10:23Z")

</div>

Hello, I am trying to make the log constraints work with Gurobi.jl and JuMP.jl. However, I don’t seem to be able to successfully use the C call function. Anyone who has managed to use them? I paste a simple example bel…

---

## [(DataFrames.jl Suggestion) A (public) function that takes the same args as \`subset\` and returns the matched indices](https://discourse.julialang.org/t/dataframes-jl-suggestion-a-public-function-that-takes-the-same-args-as-subset-and-returns-the-matched-indices/91325)

<div class="topic-metadata">

**Author:** [@bert](https://discourse.julialang.org/u/bert)\
**Replies:** 1\
**Last updated:** [December 6, 2022, 10:54pm UTC](https://discourse.julialang.org/t/dataframes-jl-suggestion-a-public-function-that-takes-the-same-args-as-subset-and-returns-the-matched-indices/91325 "2022-12-06T22:54:58Z")

</div>

It would be great if DataFrames.jl had a function or functions that would function more or less the same way subset does, except that they’d would return a vector containing the indices of kept rows instead of a new fram…

---

## [LinearSolve for a matrix-free problem](https://discourse.julialang.org/t/linearsolve-for-a-matrix-free-problem/91308)

<div class="topic-metadata">

**Author:** [@Lucas\_S\_Campos](https://discourse.julialang.org/u/Lucas_S_Campos)\
**Replies:** 1\
**Last updated:** [December 6, 2022, 3:55pm UTC](https://discourse.julialang.org/t/linearsolve-for-a-matrix-free-problem/91308 "2022-12-06T15:55:48Z")

</div>

I am trying to use LinearSolve for a matrix-free problem. I tried using the functionoperator from SciMLOperators and it does seem to work when doing matrix multiplication. However when trying to solve a linear system it…

---

## [Making LBFGS in \`Optim.jl\` as fast as in \`NLopt.jl\`](https://discourse.julialang.org/t/making-lbfgs-in-optim-jl-as-fast-as-in-nlopt-jl/91259)

<div class="topic-metadata">

**Author:** [@jlbosse](https://discourse.julialang.org/u/jlbosse)\
**Replies:** 13\
**Last updated:** [December 6, 2022, 5:18pm UTC](https://discourse.julialang.org/t/making-lbfgs-in-optim-jl-as-fast-as-in-nlopt-jl/91259 "2022-12-06T17:18:12Z")

</div>

I have a (somewhat expensive to calculate) loss function f(x) for which I can compute exact gradients using Zygote.jl and wish to minimise it. So far I have been using the LBFGS implementation in NLopt.jl to do that, bu…

---

## [MethodError: no method matching getrf! when I try to use GPU to training a universal differential equation with ForwardDiff.jl](https://discourse.julialang.org/t/methoderror-no-method-matching-getrf-when-i-try-to-use-gpu-to-training-a-universal-differential-equation-with-forwarddiff-jl/91062)

<div class="topic-metadata">

**Author:** [@Ronaldo\_Nogueira](https://discourse.julialang.org/u/Ronaldo_Nogueira)\
**Replies:** 5\
**Last updated:** [December 6, 2022, 3:50pm UTC](https://discourse.julialang.org/t/methoderror-no-method-matching-getrf-when-i-try-to-use-gpu-to-training-a-universal-differential-equation-with-forwarddiff-jl/91062 "2022-12-06T15:50:07Z")

</div>

Hi, thank you for your attention. So, I’m trying to make use of GPU to train a universal differential equation but, when I run the code to make the optimization with Optimization.jl I got this error below. I already trie…

---

## [Agents.jl: Equivalent of nearby\_agents for grid cells?](https://discourse.julialang.org/t/agents-jl-equivalent-of-nearby-agents-for-grid-cells/91290)

<div class="topic-metadata">

**Author:** [@sea\_slug](https://discourse.julialang.org/u/sea_slug)\
**Replies:** 3\
**Last updated:** [December 6, 2022, 10:20am UTC](https://discourse.julialang.org/t/agents-jl-equivalent-of-nearby-agents-for-grid-cells/91290 "2022-12-06T10:20:32Z")

</div>

Mandatory I’m brand new to Julia and Agents.jl so apologies if this is obvious. I am making a predator-prey model, following the wolf-sheep example. My GridSpace has a property “grass”. In the example predator-prey mod…

---

## [Generalization of the Turing Bayesian logistic regression example](https://discourse.julialang.org/t/generalization-of-the-turing-bayesian-logistic-regression-example/91257)

<div class="topic-metadata">

**Author:** [@lgmendes](https://discourse.julialang.org/u/lgmendes)\
**Replies:** 1\
**Last updated:** [December 6, 2022, 8:34am UTC](https://discourse.julialang.org/t/generalization-of-the-turing-bayesian-logistic-regression-example/91257 "2022-12-06T08:34:43Z")

</div>

How to generalize the example of the Bayesian logistic regression \[turning\] for programmatically accepting input data with a different number of features, similar to what is possible in the Multinomial logistic regressio…

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

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