Ask Your Question
0

How to make a plot with multi-axes with Dyntools

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

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.

Greetings.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

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

perolofl gravatar image

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

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

Comments

Ok. Thank you!

Nicolas_DSJ gravatar imageNicolas_DSJ ( 2021-03-16 11:52:07 -0500 )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

Stats

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

Seen: 226 times

Last updated: Mar 17 '21