0

How to make a plot with multi-axes with Dyntools

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.

Nicolas_DSJ's avatar
3
Nicolas_DSJ
asked 2021-03-07 11:13:54 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

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.

perolofl's avatar
3.8k
perolofl
answered 2021-03-16 11:47:49 -0500, updated 2021-03-17 02:26:38 -0500
edit flag offensive 0 remove flag delete link

Comments

Ok. Thank you!

Nicolas_DSJ's avatar Nicolas_DSJ (2021-03-16 11:52:07 -0500) edit
add a comment see more comments

Your Answer

Login/Signup to Answer