Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in plotting #225

Closed
hk06319 opened this issue Sep 8, 2024 · 2 comments
Closed

Error in plotting #225

hk06319 opened this issue Sep 8, 2024 · 2 comments
Labels
question Further information is requested

Comments

@hk06319
Copy link

hk06319 commented Sep 8, 2024

I am trying to simulate the example "two_parametrons.ipynb" in the [https://github.com/NonlinearOscillations/HarmonicBalance-notebooks]. I am facing the issue with the subplots function.

f,ax = HarmonicBalance.subplots(1,5,figsize=(4*5,4))
HarmonicBalance.plot_1D_jacobian_eigenvalues(soln_1d, x="ω/2", physical=true, stable=false,filename="plot_1D_jacobian",ax=ax); 

I am getting the following error UndefVarError:subplotsnot defined Stacktrace: [1] getproperty(x::Module, f::Symbol) @ Base .\Base.jl:31 [2] top-level scope @ In[61]:1
################################
Also for coupled parametrons, its not generating the plot against the following commad.

HarmonicBalance.plot_2D_phase_diagram(result_coupled, stable=false);
@hk06319 hk06319 added the question Further information is requested label Sep 8, 2024
@oameye
Copy link
Member

oameye commented Sep 10, 2024

Hey @hk06319, the notebooks you are referring to are quite old and outdated. We are in the progress (see #221) of updating these notebooks. That said could you try

plot_phase_diagram(result_coupled)

@oameye oameye closed this as completed Sep 12, 2024
@oameye
Copy link
Member

oameye commented Sep 19, 2024

Hey, we know have a new website where we better examples and tutorials. Feel free to check it out :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants