First time here? We are a friendly community of Power Systems Engineers. Check out the FAQ!

Ask Your Question
0

How to make a plot with multi-axes with Dyntools

asked Mar 7 '1

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.

1 answer

Sort by » oldest newest most voted
0

answered Mar 16 '1

perolofl gravatar image

updated Mar 17 '1

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.

link

Comments

Ok. Thank you!

Nicolas_DSJ gravatar imageNicolas_DSJ (Mar 16 '1)

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.
Want to format code in your answer? Here is a one minute demo on Youtube

Add Answer

[hide preview]

Question Tools

Stats

Asked: Mar 7 '1

Seen: 425 times

Last updated: Mar 17 '21