Ask Your Question

How to make a plot with multi-axes with Dyntools

asked 2021-03-07 11:13:54 -0600

Nicolas_DSJ gravatar image

Hello everyone,

I am looking for a way to plot several channels but with different y-axes in the same figure with Dyntools.

I would appreciate your help.


edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2021-03-16 11:47:49 -0600

perolofl gravatar image

updated 2021-03-17 02:26:38 -0600

I don't believe it is possible in dyntools. Use matplotlib instead for larger flexibility.

EDIT: Use dyntools to read the outfile

chnfobj = dyntools.CHNF(outfile)
sh_ttl, ch_id, ch_data = chnfobj.get_data()

and then use matplotlib to plot the content.

edit flag offensive delete link more


Ok. Thank you!

Nicolas_DSJ gravatar imageNicolas_DSJ ( 2021-03-16 11:52:07 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools


Asked: 2021-03-07 11:13:54 -0600

Seen: 123 times

Last updated: Mar 17