# Specific Domains

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

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

**Page:** 238

---

## [Improve model parameters in a chain of simple transfer functions by optimization](https://discourse.julialang.org/t/improve-model-parameters-in-a-chain-of-simple-transfer-functions-by-optimization/89565)

<div class="topic-metadata">

**Author:** [@JanKap](https://discourse.julialang.org/u/JanKap)\
**Replies:** 3\
**Last updated:** [November 8, 2022, 6:19pm UTC](https://discourse.julialang.org/t/improve-model-parameters-in-a-chain-of-simple-transfer-functions-by-optimization/89565 "2022-11-08T18:19:47Z")

</div>

I hope this is the right section here. Suppose there’s a simple chain of transfer functions which originate from an electrical system. I try to match an output curve to be as close to a target as possible. I’ll try to d…

---

## [Unitful SymbolicNumericIntegration ambiguity](https://discourse.julialang.org/t/unitful-symbolicnumericintegration-ambiguity/89917)

<div class="topic-metadata">

**Author:** [@jar1](https://discourse.julialang.org/u/jar1)\
**Replies:** 1\
**Last updated:** [November 8, 2022, 11:22am UTC](https://discourse.julialang.org/t/unitful-symbolicnumericintegration-ambiguity/89917 "2022-11-08T11:22:30Z")

</div>

What is supposed to happen here? using Symbolics, SymbolicNumericIntegration, Unitful @variables x julia\> integrate(9.8u"m/s^2"\*x) ERROR: MethodError: \*(::Quantity{Float64, 𝐋 𝐓^-2, …}, ::Num) is ambiguous. Candidates: …

---

## [How to change the display size of an image in IJulia (Jupyter)?](https://discourse.julialang.org/t/how-to-change-the-display-size-of-an-image-in-ijulia-jupyter/70675)

<div class="topic-metadata">

**Author:** [@Shuhua](https://discourse.julialang.org/u/Shuhua)\
**Replies:** 2\
**Last updated:** [November 8, 2022, 8:58am UTC](https://discourse.julialang.org/t/how-to-change-the-display-size-of-an-image-in-ijulia-jupyter/70675 "2022-11-08T08:58:12Z")

</div>

We can generate a random image with a rand array. However, regardless of the size of the array, the image is always displayed in Jupyter IJulia (in VS code) with a fixed size. Is there any way to adjust the display size? …

---

## [Model options for numeric and categorical](https://discourse.julialang.org/t/model-options-for-numeric-and-categorical/89872)

<div class="topic-metadata">

**Author:** [@Billpete002](https://discourse.julialang.org/u/Billpete002)\
**Replies:** 1\
**Last updated:** [November 8, 2022, 1:34am UTC](https://discourse.julialang.org/t/model-options-for-numeric-and-categorical/89872 "2022-11-08T01:34:14Z")

</div>

Hi All, I am wondering if there is something similar in Julia to Python’s Catboost, i.e. a gradient boosted determinant model that allows for categorical and numeric data? I found a Catboost.jl package, but it is relia…

---

## [Does Python 3.11 improve the performance of compatible imported python packages in Julia?](https://discourse.julialang.org/t/does-python-3-11-improve-the-performance-of-compatible-imported-python-packages-in-julia/89903)

<div class="topic-metadata">

**Author:** [@Shayan](https://discourse.julialang.org/u/Shayan)\
**Replies:** 8\
**Last updated:** [November 8, 2022, 12:08am UTC](https://discourse.julialang.org/t/does-python-3-11-improve-the-performance-of-compatible-imported-python-packages-in-julia/89903 "2022-11-08T00:08:06Z")

</div>

Scikit-Learn recently released wheels suitable for Python3.11. Now I wonder if Python3.11 improves the Python packages’ performance in Julia. PyCall.jl uses a specific python version, and one can install any installable …

---

## [Data stitching](https://discourse.julialang.org/t/data-stitching/89662)

<div class="topic-metadata">

**Author:** [@gustaphe](https://discourse.julialang.org/u/gustaphe)\
**Replies:** 30\
**Last updated:** [November 7, 2022, 10:10pm UTC](https://discourse.julialang.org/t/data-stitching/89662 "2022-11-07T22:10:48Z")

</div>

I’m looking for a package or an algorithm, alternatively an explanation of why what I want is impossible or bad: I have a set of data x1, y1 ≈ f.(x1) and one x2, y2 ≈ a\*f.(x2) .+ b for some natural black box function f …

---

## [Packages for Fluid Simulations and Modelling?](https://discourse.julialang.org/t/packages-for-fluid-simulations-and-modelling/89882)

<div class="topic-metadata">

**Author:** [@wali\_waqar](https://discourse.julialang.org/u/wali_waqar)\
**Replies:** 1\
**Last updated:** [November 7, 2022, 9:34pm UTC](https://discourse.julialang.org/t/packages-for-fluid-simulations-and-modelling/89882 "2022-11-07T21:34:36Z")

</div>

Hi, I have to simulate Faraday Waves and Faraday Instability in floating droplets for a project that I’m doing, and I really wanted to use Julia for the task. Are there any packages that I could be of use to me?

---

## [Set\_optimizer\_attribute does not work in newer versions of JuMP, Julia, etc.?](https://discourse.julialang.org/t/set-optimizer-attribute-does-not-work-in-newer-versions-of-jump-julia-etc/89727)

<div class="topic-metadata">

**Author:** [@fksayaci](https://discourse.julialang.org/u/fksayaci)\
**Replies:** 8\
**Last updated:** [November 7, 2022, 9:14pm UTC](https://discourse.julialang.org/t/set-optimizer-attribute-does-not-work-in-newer-versions-of-jump-julia-etc/89727 "2022-11-07T21:14:10Z")

</div>

Hello all, I have an optimization model. I run it on my computer without any problem. I have the following for loop to assign values to Gurobi parameters: for paramrow in eachrow(solver\_params) if paramrow.Type == …

---

## [Plots: subplot size changes when nesting plots with subplots & layout](https://discourse.julialang.org/t/plots-subplot-size-changes-when-nesting-plots-with-subplots-layout/61287)

<div class="topic-metadata">

**Author:** [@vandenman](https://discourse.julialang.org/u/vandenman)\
**Replies:** 0\
**Last updated:** [May 17, 2021, 9:14am UTC](https://discourse.julialang.org/t/plots-subplot-size-changes-when-nesting-plots-with-subplots-layout/61287 "2021-05-17T09:14:32Z")

</div>

So I’m having an issue when I put a plot with a layout into another plot. Consider the following example, my actual code is different (e.g., more pretty plotting and meaningful content), but this shows the problem alrea…

---

## [Layout with several grids](https://discourse.julialang.org/t/layout-with-several-grids/87474)

<div class="topic-metadata">

**Author:** [@Gregstrq](https://discourse.julialang.org/u/Gregstrq)\
**Replies:** 2\
**Last updated:** [November 7, 2022, 7:23pm UTC](https://discourse.julialang.org/t/layout-with-several-grids/87474 "2022-11-07T19:23:12Z")

</div>

I am using Plots with GR backend and trying to create a 2x2 grid of plots with a common legend in the bottom. As it happens, there is no support for horizontal legends with gr, so I am trying to add plots without a fram…

---

## [MethodError: no method matching Float64 when using ForwardDiff.jl despite me pre-allocating arrays to take floating point](https://discourse.julialang.org/t/methoderror-no-method-matching-float64-when-using-forwarddiff-jl-despite-me-pre-allocating-arrays-to-take-floating-point/89859)

<div class="topic-metadata">

**Author:** [@sumant28](https://discourse.julialang.org/u/sumant28)\
**Replies:** 4\
**Last updated:** [November 7, 2022, 7:07pm UTC](https://discourse.julialang.org/t/methoderror-no-method-matching-float64-when-using-forwarddiff-jl-despite-me-pre-allocating-arrays-to-take-floating-point/89859 "2022-11-07T19:07:31Z")

</div>

using Optimization, OptimizationOptimJL, OptimizationBBO, OptimizationMOI, ForwardDiff, ModelingToolkit, Random, OptimizationOptimisers, Statistics, Plots function MSEg(u, p) X = p.X y = p.y h = u\[1\] beta = u\[2:…

---

## [Julia plots are very slow in every run](https://discourse.julialang.org/t/julia-plots-are-very-slow-in-every-run/89863)

<div class="topic-metadata">

**Author:** [@Fuad\_Hasibul\_Hasan](https://discourse.julialang.org/u/Fuad_Hasibul_Hasan)\
**Replies:** 5\
**Last updated:** [November 7, 2022, 2:24pm UTC](https://discourse.julialang.org/t/julia-plots-are-very-slow-in-every-run/89863 "2022-11-07T14:24:54Z")

</div>

I am relatively new to Julia. I find plotting very slow; though I found some questions and responses about slow plotting for the first time due to compilation, in my case it is slow every time. Here is what I am doing: @…

---

## [AssertionError: isfinite(phi\_c) && isfinite(dphi\_c) when estimating EGARCH](https://discourse.julialang.org/t/assertionerror-isfinite-phi-c-isfinite-dphi-c-when-estimating-egarch/89841)

<div class="topic-metadata">

**Author:** [@ultratrader](https://discourse.julialang.org/u/ultratrader)\
**Replies:** 0\
**Last updated:** [November 6, 2022, 3:40pm UTC](https://discourse.julialang.org/t/assertionerror-isfinite-phi-c-isfinite-dphi-c-when-estimating-egarch/89841 "2022-11-06T15:40:50Z")

</div>

I tried to forecast VaR(Value at Risk) based on GARCH model using ARCHModels.jl. I found no problem for standard GARCH and TGARCH. using TimeSeries, MarketData, ARCHModels using Plots, Dates, Missings startdate = DateTi…

---

## [Using PLASMA instead of LAPACK?](https://discourse.julialang.org/t/using-plasma-instead-of-lapack/25838)

<div class="topic-metadata">

**Author:** [@Red-Portal](https://discourse.julialang.org/u/Red-Portal)\
**Replies:** 5\
**Last updated:** [November 6, 2022, 12:25pm UTC](https://discourse.julialang.org/t/using-plasma-instead-of-lapack/25838 "2022-11-06T12:25:34Z")

</div>

Hi, I recently tested using PLASMA instead of LAPACK on a single socket 32 core AMD Threadripper. The results below are from running LU decomposition. It seems above a certain scale, PLASMA achieves much higher parall…

---

## [Computing a pruned FFT in O(n\*log(k))](https://discourse.julialang.org/t/computing-a-pruned-fft-in-o-n-log-k/89570)

<div class="topic-metadata">

**Author:** [@nvenkov1](https://discourse.julialang.org/u/nvenkov1)\
**Replies:** 5\
**Last updated:** [November 6, 2022, 12:05pm UTC](https://discourse.julialang.org/t/computing-a-pruned-fft-in-o-n-log-k/89570 "2022-11-06T12:05:46Z")

</div>

Let’s say that I consider a DFT with n coefficients. I am only interested in k\<\<n of these coefficients. In theory, it is possible to compute these k coefficients in O(n\* log(k)) instead of O(n\* log(n)), see https://www.…

---

## [Axis jitter when using slider and axis autolimits in GLMakie](https://discourse.julialang.org/t/axis-jitter-when-using-slider-and-axis-autolimits-in-glmakie/89687)

<div class="topic-metadata">

**Author:** [@garrek](https://discourse.julialang.org/u/garrek)\
**Replies:** 2\
**Last updated:** [November 6, 2022, 6:26am UTC](https://discourse.julialang.org/t/axis-jitter-when-using-slider-and-axis-autolimits-in-glmakie/89687 "2022-11-06T06:26:31Z")

</div>

When using a Slider that changes a variable in a function, sometimes the amplitude can change quite a lot. In some cases, it makes sense to resize the axes to see what’s going on in a plot. This can easily be done in GLM…

---

## [Understanding the confidence interval of Sobol indices](https://discourse.julialang.org/t/understanding-the-confidence-interval-of-sobol-indices/89643)

<div class="topic-metadata">

**Author:** [@Ge0rges](https://discourse.julialang.org/u/Ge0rges)\
**Replies:** 4\
**Last updated:** [November 6, 2022, 2:15am UTC](https://discourse.julialang.org/t/understanding-the-confidence-interval-of-sobol-indices/89643 "2022-11-06T02:15:20Z")

</div>

Hello, The documentation around the confidence level of Sobol indices is a bit sparse. Could someone explain how the following works in GlobalSensitivity: The role of nboot The role of setting conf\_level How to retr…

---

## [LightOSM and OpenStreetMapX assigning inconsistent nearest node](https://discourse.julialang.org/t/lightosm-and-openstreetmapx-assigning-inconsistent-nearest-node/89633)

<div class="topic-metadata">

**Author:** [@ctrebbau](https://discourse.julialang.org/u/ctrebbau)\
**Replies:** 3\
**Last updated:** [November 6, 2022, 12:44am UTC](https://discourse.julialang.org/t/lightosm-and-openstreetmapx-assigning-inconsistent-nearest-node/89633 "2022-11-06T00:44:05Z")

</div>

100 randomly chosen real coordinates: pts = collect(zip(df.cLat, df.cLng))\[rand(1:size(df, 1), 100)\] Conversion of points to appropriate package types: losm\_pts = \[GeoLocation(pts\[i\]\[1\], pts\[i\]\[2\]) for i in 1:length(p…

---

## [Copying Data from one Excel sheet to three different ones](https://discourse.julialang.org/t/copying-data-from-one-excel-sheet-to-three-different-ones/89812)

<div class="topic-metadata">

**Author:** [@MeryKay](https://discourse.julialang.org/u/MeryKay)\
**Replies:** 4\
**Last updated:** [November 6, 2022, 12:35am UTC](https://discourse.julialang.org/t/copying-data-from-one-excel-sheet-to-three-different-ones/89812 "2022-11-06T00:35:13Z")

</div>

Hallo everybody, I would like to copy data from one Excel sheet(named origin) which is saved in A1:A3000 to three different excel sheets (named 1, 2 ,3). In the end, I want to have the content from A1:A1000 from “origi…

---

## [ControlSystems / Numeric representation of the x-axis for bodeplot](https://discourse.julialang.org/t/controlsystems-numeric-representation-of-the-x-axis-for-bodeplot/89562)

<div class="topic-metadata">

**Author:** [@GottDengDirk](https://discourse.julialang.org/u/GottDengDirk)\
**Replies:** 14\
**Last updated:** [November 4, 2022, 8:24am UTC](https://discourse.julialang.org/t/controlsystems-numeric-representation-of-the-x-axis-for-bodeplot/89562 "2022-11-04T08:24:00Z")

</div>

Hello, I want the numbers on the x-axis to be integers wenn i use “bodeplot”. For example 0 0.2 0.4, but not 210^-1 410^-1. Thanks in advance.

---

## [Analysis of ensembles of different solution lengths (DiffEq)](https://discourse.julialang.org/t/analysis-of-ensembles-of-different-solution-lengths-diffeq/89752)

<div class="topic-metadata">

**Author:** [@Lachlan-Bn](https://discourse.julialang.org/u/Lachlan-Bn)\
**Replies:** 1\
**Last updated:** [November 5, 2022, 8:56pm UTC](https://discourse.julialang.org/t/analysis-of-ensembles-of-different-solution-lengths-diffeq/89752 "2022-11-05T20:56:39Z")

</div>

I’m solving some ensembles where each trajectory is going to have a wildly different length due to a termination callback. I’d like to be able to, e.g using the EnsembleSolution/EnsembleSummary methods visualize how this…

---

## [Drawing an outline around one data point in heatmap](https://discourse.julialang.org/t/drawing-an-outline-around-one-data-point-in-heatmap/89820)

<div class="topic-metadata">

**Author:** [@yhchang96](https://discourse.julialang.org/u/yhchang96)\
**Replies:** 2\
**Last updated:** [November 5, 2022, 8:46pm UTC](https://discourse.julialang.org/t/drawing-an-outline-around-one-data-point-in-heatmap/89820 "2022-11-05T20:46:53Z")

</div>

Suppose I have a heatmap created using Makie.jl: data = rand(10,10) fig = Figure() ax = Axis(fig\[1,1\], aspect=1) hm = heatmap!(ax, data) fig The heatmap is essentially 10x10 rectangles with different colors. How do I…

---

## [Makie - control whether Colorbar for heatmap shows extended range](https://discourse.julialang.org/t/makie-control-whether-colorbar-for-heatmap-shows-extended-range/89772)

<div class="topic-metadata">

**Author:** [@alex-robinson](https://discourse.julialang.org/u/alex-robinson)\
**Replies:** 3\
**Last updated:** [November 5, 2022, 8:45pm UTC](https://discourse.julialang.org/t/makie-control-whether-colorbar-for-heatmap-shows-extended-range/89772 "2022-11-05T20:45:46Z")

</div>

Hi, When using heatmap together with Colorbar, I am having trouble understanding how to use the arguments colorrange and lowclip, highclip. I want to plot an array with values ranging from 0 to 1. If I try to make a fi…

---

## [How to use Dagger in remote machines?](https://discourse.julialang.org/t/how-to-use-dagger-in-remote-machines/89793)

<div class="topic-metadata">

**Author:** [@Noel\_Araujo](https://discourse.julialang.org/u/Noel_Araujo)\
**Replies:** 3\
**Last updated:** [November 5, 2022, 4:07pm UTC](https://discourse.julialang.org/t/how-to-use-dagger-in-remote-machines/89793 "2022-11-05T16:07:34Z")

</div>

I began using Dagger.jl and I want to run some tests it with my local host machines, but those tests only runs in multithreading in my notebook. I know that my local machines work, because I can run them with Distribute…

---

## [Misbehaving model / bad neural net architecture for the job?](https://discourse.julialang.org/t/misbehaving-model-bad-neural-net-architecture-for-the-job/89729)

<div class="topic-metadata">

**Author:** [@chrisoei](https://discourse.julialang.org/u/chrisoei)\
**Replies:** 2\
**Last updated:** [November 5, 2022, 3:12pm UTC](https://discourse.julialang.org/t/misbehaving-model-bad-neural-net-architecture-for-the-job/89729 "2022-11-05T15:12:29Z")

</div>

So I thought I’d take the Universal Approximation Theorem for a spin by training a neural net to reproduce the U.S. Consumer Price Index as a function of time: A simple model with 1 hidden layer with 3 neurons does ju…

---

## [Plot Raster depth vs value](https://discourse.julialang.org/t/plot-raster-depth-vs-value/89150)

<div class="topic-metadata">

**Author:** [@ryofurue](https://discourse.julialang.org/u/ryofurue)\
**Replies:** 8\
**Last updated:** [November 5, 2022, 10:44am UTC](https://discourse.julialang.org/t/plot-raster-depth-vs-value/89150 "2022-11-05T10:44:27Z")

</div>

I’m trying to plot a vertical profile, a 1D plot, of a variable, a multidimensional Raster on a depth-time grid: using Rasters using Plots infile = "sample.nc" varname = "myvar" myvar = Raster(infile; name=myvar) # 2D…

---

## [Customizing legends of rootlocusplot by ControlSystem.jl?](https://discourse.julialang.org/t/customizing-legends-of-rootlocusplot-by-controlsystem-jl/89756)

<div class="topic-metadata">

**Author:** [@emone](https://discourse.julialang.org/u/emone)\
**Replies:** 3\
**Last updated:** [November 5, 2022, 8:19am UTC](https://discourse.julialang.org/t/customizing-legends-of-rootlocusplot-by-controlsystem-jl/89756 "2022-11-05T08:19:56Z")

</div>

Hello mates, I would like to manipulate the rootlocusplot syntax by modifying the legends to be able to differentiate the system that I am graphing. Has anyone tried this? My algorithm is this using ControlSystems usi…

---

## [Trouble getting Weave to output plotly() based plots on HTML document](https://discourse.julialang.org/t/trouble-getting-weave-to-output-plotly-based-plots-on-html-document/34244)

<div class="topic-metadata">

**Author:** [@ElectronicTeaCup](https://discourse.julialang.org/u/ElectronicTeaCup)\
**Replies:** 4\
**Last updated:** [November 4, 2022, 11:15pm UTC](https://discourse.julialang.org/t/trouble-getting-weave-to-output-plotly-based-plots-on-html-document/34244 "2022-11-04T23:15:00Z")

</div>

Hello everyone. When I put in the following: using Plots plotly() plot(rand(10)) And then output via weave using: weave((“doctest.jmd”), out\_path=:pwd,doctype=“md2html”) I get this: Error: \[ Info: Weaving chunk …

---

## [Differentiable optimization / BigFloat - does DiffOpt.jl work with SDPAFamily.jl?](https://discourse.julialang.org/t/differentiable-optimization-bigfloat-does-diffopt-jl-work-with-sdpafamily-jl/89771)

<div class="topic-metadata">

**Author:** [@greatpet](https://discourse.julialang.org/u/greatpet)\
**Replies:** 1\
**Last updated:** [November 4, 2022, 7:29pm UTC](https://discourse.julialang.org/t/differentiable-optimization-bigfloat-does-diffopt-jl-work-with-sdpafamily-jl/89771 "2022-11-04T19:29:22Z")

</div>

I’m interested in solving semidefinite optimization problems and compute the derivatives of the solutions w.r.t. input parameters. BigFloat may be needed for some of the more demanding problems. Does the differentiable o…

---

## [Create a layer in Flux](https://discourse.julialang.org/t/create-a-layer-in-flux/89468)

<div class="topic-metadata">

**Author:** [@qwerty](https://discourse.julialang.org/u/qwerty)\
**Replies:** 4\
**Last updated:** [November 4, 2022, 7:00pm UTC](https://discourse.julialang.org/t/create-a-layer-in-flux/89468 "2022-11-04T19:00:07Z")

</div>

What are the best practices for creating a custom layer in Flux? I noticed that, for example, creating a layer with internal state is not trivial. What should I do in general if I want to create a layer?

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

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