You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- `x`, `y`: Expressions to plot on as independent/dependent variables (parsed into Symbolics.jl).
171
-
- `marker`: The point marker to use.
172
171
- `xscale`, `yscale`: scale for x/y dimensions (e.g. "linear" or "log")
173
172
- `plot_only`: a list of strings corresponding to the solution classes of `Result`. Only solutions which belong to the listed classes are plotted.
174
173
- `marker_classification`: A class of the solutions (created by `classify_solutions!`) which is distinguished with different markers. Entering an inequality creates a new class "custom_class".
175
-
- `filename`: if different from `nothing`, plotted data and parameter values are exported to `./filename.jld2`.
176
-
- `col_length`: number of elements per legend column. By default 10.
174
+
- `filename`: if different from `nothing`, plotted data and parameter values are exported to `./filename.jld2`. Otherwise, data is returned as a dictionary.
177
175
- `kwargs`: any additional keywords arguments for the matplotlib plotting
178
176
179
177
The strings in `marker_classification` allows the user to stablish custom criteria for binary classification of solutions. For instance, if `marker_classification = "ω^15* sqrt(u1^2 + v1^2) < 0.1"`,
180
178
for a system with harmonic variables u1,v1, then solutions are classified as `true` according to that criterion and `false` according to its complement.
- `marker_re`, `marker_im`: The markers to use for the Re and Im parts of the eigenvalues.
335
332
- `ax`: axis object from `PyCall.PyObject` setting the coordinate system where data will be plotted. If not given, it is created automatically.
336
-
- `filename`: if different from `nothing`, plotted data and parameter values are exported to `./filename.jld2`.
333
+
- `filename`: if different from `nothing`, plotted data and parameter values are exported to `./filename.jld2`. Otherwise, data is returned as a dictionary.
"""Take a set of conditions and multi-solution maps on solutions transformed by `z`
@@ -441,7 +440,7 @@ Make a 2D plot of each of solutions vs swept parameters for a `Result` object, o
441
440
Keyword arguments
442
441
443
442
- `ax`: axis object from `PyCall.PyObject` setting the coordinate system where data will be plotted. If not given, it is created automatically.
444
-
- `filename`: if different from `nothing`, plotted data and parameter values are exported to `./filename.jld2`.
443
+
- `filename`: if different from `nothing`, plotted data and parameter values are exported to `./filename.jld2`. Otherwise, data is returned as a dictionary.
445
444
- `z`: The function on the z axis (a string parsed into Symbolics.jl). If `z=nothing`, raw solutions are displayed
446
445
- `plot_only`: Array of labels to filter physical solutions (e.g. "stable") and multi-solution methods if `z!=nothing` (e.g. maximum)
447
446
"""
@@ -485,10 +484,10 @@ function plot_2D_solutions(res::Result; ax=nothing, filename=nothing, z=nothing,
485
484
for l in1:nrow
486
485
a = ax[l,m].imshow(Z[m,l,:,end:-1:1]',extent=extent,aspect="auto")
"""Discrete colorbar preparation for phase diagram"""
@@ -542,7 +540,7 @@ Keyword arguments
542
540
- `stable`: whether only stable solutions are depicted
543
541
- `observable`: reference observable to represent dynamical phases in the problem. If `observable="nsols"`, number of solutions for each point is shown.
544
542
If instead `observable="binary"`, the result of classification of bistrings `[is_stable(solution_1),is_stable(solution_2),...]` is presented (see `classify_binaries!(Result)` function).
545
-
- `filename`: if different from `nothing`, plotted data and parameter values are exported to `./filename.jld2`.
543
+
- `filename`: if different from `nothing`, plotted data and parameter values are exported to `./filename.jld2`.Otherwise, data is returned as a dictionary.
0 commit comments