# Specific Domains

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

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

**Page:** 91

---

## [Mesh3d facecolor](https://discourse.julialang.org/t/mesh3d-facecolor/118294)

<div class="topic-metadata">

**Author:** [@Domenico\_Lahaye](https://discourse.julialang.org/u/Domenico_Lahaye)\
**Replies:** 3\
**Last updated:** [August 17, 2024, 4:45pm UTC](https://discourse.julialang.org/t/mesh3d-facecolor/118294 "2024-08-17T16:45:08Z")

</div>

I am trying to change the facecolor. Part of the issue is that I have a limited understanding of the various backends to Plots.jl . The same issue was raised here at various occasions. I continue to struggle. x = \[0, 1,…

---

## [How to make \`step!(integrator)\` overcome initial stiffness issues](https://discourse.julialang.org/t/how-to-make-step-integrator-overcome-initial-stiffness-issues/118115)

<div class="topic-metadata">

**Author:** [@SteffenPL](https://discourse.julialang.org/u/SteffenPL)\
**Replies:** 1\
**Last updated:** [August 17, 2024, 3:45pm UTC](https://discourse.julialang.org/t/how-to-make-step-integrator-overcome-initial-stiffness-issues/118115 "2024-08-17T15:45:46Z")

</div>

Related to my previous question, I now run into an issue with the step! interface. Sorry that I didn’t manage to create a MWE, if needed I will try harder :wink: At the moment, I am in a situation where for exactly the…

---

## [Fill a curve in 3D](https://discourse.julialang.org/t/fill-a-curve-in-3d/37890)

<div class="topic-metadata">

**Author:** [@feanor12](https://discourse.julialang.org/u/feanor12)\
**Replies:** 8\
**Last updated:** [August 17, 2024, 2:41pm UTC](https://discourse.julialang.org/t/fill-a-curve-in-3d/37890 "2024-08-17T14:41:57Z")

</div>

I want to plot a complex impedance value as a function of frequency. This results in a line in 3D(real, imaginary, frequency). How do I fill the area between the line and the z=0 coordinate in 3D. I tried fillrange an…

---

## [Modelingtoolkit odeproblem solution vector length 1](https://discourse.julialang.org/t/modelingtoolkit-odeproblem-solution-vector-length-1/118194)

<div class="topic-metadata">

**Author:** [@aavogt](https://discourse.julialang.org/u/aavogt)\
**Replies:** 4\
**Last updated:** [August 17, 2024, 12:07pm UTC](https://discourse.julialang.org/t/modelingtoolkit-odeproblem-solution-vector-length-1/118194 "2024-08-17T12:07:51Z")

</div>

I try to solve a Modelingtoolkit ODEProblem. Apparently it runs, but I can only access the initial condition. @mtkbuild m = Setup() prob = ODEProblem(m, \[\], (0.,100.), \[\]) sol = solve(prob) print(sol\[m.c.w\]) # get: \[0.0…

---

## [Invalid LLVM IR error using CUDA](https://discourse.julialang.org/t/invalid-llvm-ir-error-using-cuda/118244)

<div class="topic-metadata">

**Author:** [@0samuraiE](https://discourse.julialang.org/u/0samuraiE)\
**Replies:** 3\
**Last updated:** [August 17, 2024, 5:26am UTC](https://discourse.julialang.org/t/invalid-llvm-ir-error-using-cuda/118244 "2024-08-17T05:26:18Z")

</div>

Hi all. I have encountered a strange problem and would like to ask you a question. While cpu function works, gpu function fails. Why? Can I do such override in CUDA kernel? It seems that cuda is confusing Int32 and In…

---

## [How to combine MPI non-blocking Isend/Irecv and Julia tasks](https://discourse.julialang.org/t/how-to-combine-mpi-non-blocking-isend-irecv-and-julia-tasks/52524)

<div class="topic-metadata">

**Author:** [@fverdugo](https://discourse.julialang.org/u/fverdugo)\
**Replies:** 7\
**Last updated:** [August 16, 2024, 8:10pm UTC](https://discourse.julialang.org/t/how-to-combine-mpi-non-blocking-isend-irecv-and-julia-tasks/52524 "2024-08-16T20:10:58Z")

</div>

I would like to hide the MPI calls needed to wait for a non-blocking Isend / Irecv! by using the Julia asynchronous programming capabilities. I can imagine 3 main ways of doing this (see code below), but I am not certai…

---

## [CairoMakie whitespace to right of grid](https://discourse.julialang.org/t/cairomakie-whitespace-to-right-of-grid/118150)

<div class="topic-metadata">

**Author:** [@warnerwarner](https://discourse.julialang.org/u/warnerwarner)\
**Replies:** 1\
**Last updated:** [August 16, 2024, 6:19pm UTC](https://discourse.julialang.org/t/cairomakie-whitespace-to-right-of-grid/118150 "2024-08-16T18:19:27Z")

</div>

I’m not sure if this is a CairoMakie problem, or a VS code problem, but whenever I make figures in CairoMakie and then copy them from VS code it adds a patch of whitespace to the right of the plots? In VS Code is loo…

---

## [CairoMakie Errors out on 3D surface when displaying tooltip](https://discourse.julialang.org/t/cairomakie-errors-out-on-3d-surface-when-displaying-tooltip/118035)

<div class="topic-metadata">

**Author:** [@Allan\_Baker](https://discourse.julialang.org/u/Allan_Baker)\
**Replies:** 5\
**Last updated:** [August 16, 2024, 3:33pm UTC](https://discourse.julialang.org/t/cairomakie-errors-out-on-3d-surface-when-displaying-tooltip/118035 "2024-08-16T15:33:35Z")

</div>

Define MWE Module module testtest export goGL, goCairo using CairoMakie using GLMakie # Use as backend to work with tooltip! function thePlotStuff(;withTooltip=true) z=rand(100,100) f=…

---

## [Isposdef and eigvals do not agree](https://discourse.julialang.org/t/isposdef-and-eigvals-do-not-agree/118191)

<div class="topic-metadata">

**Author:** [@fmor](https://discourse.julialang.org/u/fmor)\
**Replies:** 9\
**Last updated:** [August 16, 2024, 2:27pm UTC](https://discourse.julialang.org/t/isposdef-and-eigvals-do-not-agree/118191 "2024-08-16T14:27:33Z")

</div>

Hello, I was dealing with some matrices (for a statistical model), when I came across this case which raised an error during the fitting. I was trying to compute beta\_iter\[t\] = rand(MvNormal(b\_star, inv(A\_star))) but a…

---

## [StaticArray using generator](https://discourse.julialang.org/t/staticarray-using-generator/118263)

<div class="topic-metadata">

**Author:** [@Domenico\_Lahaye](https://discourse.julialang.org/u/Domenico_Lahaye)\
**Replies:** 6\
**Last updated:** [August 16, 2024, 11:48am UTC](https://discourse.julialang.org/t/staticarray-using-generator/118263 "2024-08-16T11:48:53Z")

</div>

I am trying to replace # naive version that does works but fails to scale i1 = 1; i2 = 2; i3 = 3; I = SVector(i1, i1, i1, i2, i2, i2, i3, i3, i3) by something better. The following code I1 = SVector(i1, i2, i3) I2…

---

## [Mesh plotting in GLMakie with GeometryBasics - are normals broken?](https://discourse.julialang.org/t/mesh-plotting-in-glmakie-with-geometrybasics-are-normals-broken/118227)

<div class="topic-metadata">

**Author:** [@Larbino1](https://discourse.julialang.org/u/Larbino1)\
**Replies:** 5\
**Last updated:** [August 16, 2024, 10:30am UTC](https://discourse.julialang.org/t/mesh-plotting-in-glmakie-with-geometrybasics-are-normals-broken/118227 "2024-08-16T10:30:54Z")

</div>

I am trying to produce plots using meshes of basic geometry, and the resulting images are poor. I realised that it is very hard to tell the shape of the cylinder, no matter how I place the lighting, and I think it is bec…

---

## [Divergent colormap with white near center](https://discourse.julialang.org/t/divergent-colormap-with-white-near-center/118215)

<div class="topic-metadata">

**Author:** [@ryofurue](https://discourse.julialang.org/u/ryofurue)\
**Replies:** 2\
**Last updated:** [August 16, 2024, 5:13am UTC](https://discourse.julialang.org/t/divergent-colormap-with-white-near-center/118215 "2024-08-16T05:13:52Z")

</div>

I’m plotting a 2D field with contourf. The field has positive and negative values and so I use one divergent colormap or another and with a symmetric contouring like levels=-10:2:10. The problem I face now is that I ne…

---

## [SciML: optimizing a control signal](https://discourse.julialang.org/t/sciml-optimizing-a-control-signal/117504)

<div class="topic-metadata">

**Author:** [@cstjean](https://discourse.julialang.org/u/cstjean)\
**Replies:** 7\
**Last updated:** [August 16, 2024, 1:04am UTC](https://discourse.julialang.org/t/sciml-optimizing-a-control-signal/117504 "2024-08-16T01:04:59Z")

</div>

Suppose I’ve got a differential equation that takes some forcing / control signal as input defined as a DataInterpolation.LinearInterpolation(u, t) (similar to the tutorial example). I’d like to find the u vector which m…

---

## [Spacegrid subset](https://discourse.julialang.org/t/spacegrid-subset/118066)

<div class="topic-metadata">

**Author:** [@JCaro](https://discourse.julialang.org/u/JCaro)\
**Replies:** 7\
**Last updated:** [August 15, 2024, 7:22pm UTC](https://discourse.julialang.org/t/spacegrid-subset/118066 "2024-08-15T19:22:26Z")

</div>

I need to work on a simulation and i want to make a gridspace and sub-divide it, using random points in the grid and their respectivly voronoi polygons. Can someone give some directions on how/how not do it?? a image of…

---

## [Raspberry Pi AI Kit](https://discourse.julialang.org/t/raspberry-pi-ai-kit/118225)

<div class="topic-metadata">

**Author:** [@Vyacheslav\_Vorobyov](https://discourse.julialang.org/u/Vyacheslav_Vorobyov)\
**Replies:** 1\
**Last updated:** [August 15, 2024, 6:25pm UTC](https://discourse.julialang.org/t/raspberry-pi-ai-kit/118225 "2024-08-15T18:25:49Z")

</div>

Hi all! Does Julia support Raspberry Pi AI Kit ? Or is it possible to do that in some hard (not very) way? Raspberry Pi AI Kit – is a Raspberry Pi with Hailo AI acceleration module on top. The context is that I was …

---

## [Plotting scatter points together with surface plot](https://discourse.julialang.org/t/plotting-scatter-points-together-with-surface-plot/118063)

<div class="topic-metadata">

**Author:** [@MoritzD](https://discourse.julialang.org/u/MoritzD)\
**Replies:** 21\
**Last updated:** [August 15, 2024, 6:06pm UTC](https://discourse.julialang.org/t/plotting-scatter-points-together-with-surface-plot/118063 "2024-08-15T18:06:29Z")

</div>

Hello! I have a function that i want to surface plot and a bunch of points that i want to add to that plot. Unfortunately this doesn’t look good the way i do it. The problem appears to be that i first do the surface pl…

---

## [Turing custom distribution implementation](https://discourse.julialang.org/t/turing-custom-distribution-implementation/117881)

<div class="topic-metadata">

**Author:** [@jmarsh96](https://discourse.julialang.org/u/jmarsh96)\
**Replies:** 4\
**Last updated:** [August 15, 2024, 2:49pm UTC](https://discourse.julialang.org/t/turing-custom-distribution-implementation/117881 "2024-08-15T14:49:29Z")

</div>

Hi, I am fairly new to Julia and have been having trouble implementing custom distributions for use within Turing. The model is defined as follows. Let Y denote the data which we assume are generated by Y = \\theta + X, …

---

## [What's the latest and greatest in data in Julia](https://discourse.julialang.org/t/whats-the-latest-and-greatest-in-data-in-julia/117271)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 29\
**Last updated:** [August 15, 2024, 12:28pm UTC](https://discourse.julialang.org/t/whats-the-latest-and-greatest-in-data-in-julia/117271 "2024-08-15T12:28:42Z")

</div>

Due to personal circumstances, I’ve been away from Julia (actually open-source in general) for a couple of years so haven’t been catching up with what’s going on in data. I have seen some TidierData info on x but is oth…

---

## [How to use secondary axis for specific series in a groupedbar plot?](https://discourse.julialang.org/t/how-to-use-secondary-axis-for-specific-series-in-a-groupedbar-plot/118173)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 6\
**Last updated:** [August 15, 2024, 9:04am UTC](https://discourse.julialang.org/t/how-to-use-secondary-axis-for-specific-series-in-a-groupedbar-plot/118173 "2024-08-15T09:04:32Z")

</div>

Is it possible to specify a secondary y-axis for some of the series in a groupedbar plot ? (I am using Plots.jl/StatsPlots.jl) I have tried to split it in two separate calls with twinxs(), but it doesn’t work: x = \[1 3…

---

## [Parallelize differential equation solve with interpolated forcing function](https://discourse.julialang.org/t/parallelize-differential-equation-solve-with-interpolated-forcing-function/118207)

<div class="topic-metadata">

**Author:** [@Dima\_Tretiak](https://discourse.julialang.org/u/Dima_Tretiak)\
**Replies:** 0\
**Last updated:** [August 14, 2024, 11:51pm UTC](https://discourse.julialang.org/t/parallelize-differential-equation-solve-with-interpolated-forcing-function/118207 "2024-08-14T23:51:08Z")

</div>

I’m trying to run a parameter sweep across various different forcing functions defined by interpolations through discrete data. My discrete data U\_all is of shape N x Nu x Nt where N is the number of forcing functions I …

---

## [Running a function over multiple nodes on a julia cluster, from within a julia script](https://discourse.julialang.org/t/running-a-function-over-multiple-nodes-on-a-julia-cluster-from-within-a-julia-script/118153)

<div class="topic-metadata">

**Author:** [@eveningsilverfox](https://discourse.julialang.org/u/eveningsilverfox)\
**Replies:** 5\
**Last updated:** [August 14, 2024, 3:27pm UTC](https://discourse.julialang.org/t/running-a-function-over-multiple-nodes-on-a-julia-cluster-from-within-a-julia-script/118153 "2024-08-14T15:27:56Z")

</div>

I have a function whose skeleton looks like this: function inner(a,ij) return a\*ij; end function outer(a,N) arr = zeros(ComplexF64, N); for ij = 1:N arr\[ij\] = inner(a,ij); end return sum(arr) end…

---

## [Adjoint(A)\*A for MArray and Type Stability](https://discourse.julialang.org/t/adjoint-a-a-for-marray-and-type-stability/118201)

<div class="topic-metadata">

**Author:** [@Domenico\_Lahaye](https://discourse.julialang.org/u/Domenico_Lahaye)\
**Replies:** 6\
**Last updated:** [August 14, 2024, 9:17pm UTC](https://discourse.julialang.org/t/adjoint-a-a-for-marray-and-type-stability/118201 "2024-08-14T21:17:53Z")

</div>

I wonder how to implement Adjoint(A)\*A in type stable way for MArrays. Below is a MWE and output of @code\_warntype() struct SFoo SGnu::SMatrix{3,3} end struct MFoo MGnu::MMatrix{3,3} end sgnu = SMatrix{3,3}(0., …

---

## [Efficiently filter rows while reading very large CSV-ish file](https://discourse.julialang.org/t/efficiently-filter-rows-while-reading-very-large-csv-ish-file/118157)

<div class="topic-metadata">

**Author:** [@evanfields](https://discourse.julialang.org/u/evanfields)\
**Replies:** 5\
**Last updated:** [August 14, 2024, 8:04pm UTC](https://discourse.julialang.org/t/efficiently-filter-rows-while-reading-very-large-csv-ish-file/118157 "2024-08-14T20:04:37Z")

</div>

I have a text file representing k-mer counts. It’s order of magnitude a billion lines long, 14 gigabytes gzipped. It looks like so (4 early rows shown by zless): AAAAAAAAAAAAAAAAAAAAGATTTTAAATATGCAAATTT 6 1 3 0 2 1 2 1 …

---

## [Numerical-Code: Warnings and Errors due to scopes](https://discourse.julialang.org/t/numerical-code-warnings-and-errors-due-to-scopes/117946)

<div class="topic-metadata">

**Author:** [@EatMyShorts](https://discourse.julialang.org/u/EatMyShorts)\
**Replies:** 5\
**Last updated:** [August 10, 2024, 8:54pm UTC](https://discourse.julialang.org/t/numerical-code-warnings-and-errors-due-to-scopes/117946 "2024-08-10T20:54:08Z")

</div>

I am a newbie in Julia an I have written the following code: using LinearAlgebra using Plots t = 0; epsilon = 0.1; ########## initial data: Sod problem (rho,u,T) ########## Prim\_l = \[1 0 1\];…

---

## [Can't get NeuralPDE Example code to run](https://discourse.julialang.org/t/cant-get-neuralpde-example-code-to-run/118196)

<div class="topic-metadata">

**Author:** [@ericchenanp](https://discourse.julialang.org/u/ericchenanp)\
**Replies:** 0\
**Last updated:** [August 14, 2024, 5:58pm UTC](https://discourse.julialang.org/t/cant-get-neuralpde-example-code-to-run/118196 "2024-08-14T17:58:37Z")

</div>

Hi folks! I’m trying to get the example code for the NeuralPDE package up and running, but copy/pasting it returns the following: ERROR: DivideError: integer division error Does anyone know what I’m doing wrong, or wh…

---

## [Integration on an ordered domain](https://discourse.julialang.org/t/integration-on-an-ordered-domain/118180)

<div class="topic-metadata">

**Author:** [@IlliaFaraji](https://discourse.julialang.org/u/IlliaFaraji)\
**Replies:** 3\
**Last updated:** [August 14, 2024, 2:55pm UTC](https://discourse.julialang.org/t/integration-on-an-ordered-domain/118180 "2024-08-14T14:55:00Z")

</div>

I want to carry out an integral of this form \\int\_{0}^{\\infty} \\int\_{0}^{t\_{n}} \\ldots \\int\_{0}^{t\_2} \\ f(s\_1, \\ldots, s\_n)\\, \\mathrm{d}s\_1 \\ldots \\mathrm{d}s\_n , for n \\approx 10. The domain of integration here is S=…

---

## [Surrogates.jl: How to get the effect of "forgetting" or decaying importance of old observations?](https://discourse.julialang.org/t/surrogates-jl-how-to-get-the-effect-of-forgetting-or-decaying-importance-of-old-observations/118178)

<div class="topic-metadata">

**Author:** [@A112s](https://discourse.julialang.org/u/A112s)\
**Replies:** 0\
**Last updated:** [August 14, 2024, 11:55am UTC](https://discourse.julialang.org/t/surrogates-jl-how-to-get-the-effect-of-forgetting-or-decaying-importance-of-old-observations/118178 "2024-08-14T11:55:05Z")

</div>

I want to use Surrogates.jl to select hyperparameters for a function, which I know that behaves its behavior significantly over time. Is there a built-in way to model such process with Surrogates.jl?

---

## [DiffOpt - differentiating through a QP/different from manual](https://discourse.julialang.org/t/diffopt-differentiating-through-a-qp-different-from-manual/118141)

<div class="topic-metadata">

**Author:** [@blob](https://discourse.julialang.org/u/blob)\
**Replies:** 3\
**Last updated:** [August 14, 2024, 9:34am UTC](https://discourse.julialang.org/t/diffopt-differentiating-through-a-qp-different-from-manual/118141 "2024-08-14T09:34:30Z")

</div>

I want to differentiate through a QP following the tutorial from DiffOpt. The QP in question: I would like to differentiate wrt to h, q, and G. I do that in three ways: Using the paper cited on DiffOpt website: dwh,…

---

## [How to improve the scaling of Julia code aimed at multi-node parallelization?](https://discourse.julialang.org/t/how-to-improve-the-scaling-of-julia-code-aimed-at-multi-node-parallelization/118048)

<div class="topic-metadata">

**Author:** [@Uranium238](https://discourse.julialang.org/u/Uranium238)\
**Replies:** 38\
**Last updated:** [August 14, 2024, 8:56am UTC](https://discourse.julialang.org/t/how-to-improve-the-scaling-of-julia-code-aimed-at-multi-node-parallelization/118048 "2024-08-14T08:56:08Z")

</div>

I have been trying to write a version of my Julia code that can be run in a parallelized manner using multiple nodes at once. After posting this thread I finally have a working version of the code (as given below) Code …

---

## [Block triangular matrix in Convex.jl](https://discourse.julialang.org/t/block-triangular-matrix-in-convex-jl/118147)

<div class="topic-metadata">

**Author:** [@jens-rataczak](https://discourse.julialang.org/u/jens-rataczak)\
**Replies:** 2\
**Last updated:** [August 13, 2024, 10:27pm UTC](https://discourse.julialang.org/t/block-triangular-matrix-in-convex-jl/118147 "2024-08-13T22:27:53Z")

</div>

Hello, Is there a straightforward way to constrain a variable in Convex.jl to be block triangular (either upper or lower)? I am looking for something like YALMIP’s blkvar command. It seems rather tedious to constrain th…

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

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