Author Topic: script for transmission spectrum various bias  (Read 8323 times)

0 Members and 1 Guest are viewing this topic.

Offline Aadhityan

  • Regular QuantumATK user
  • **
  • Posts: 13
  • Country: in
  • Reputation: 0
    • View Profile
script for transmission spectrum various bias
« on: July 11, 2020, 11:26 »
I am trying to plot transmission coefficient for various bias.

 In the IV curve analysis, I can get the plot of transmission spectra for various bias. But the clarity is not good when I export as image.

I have written  a code which plot transmission spectra at various bias. But the problem is I want to know how to change the colour(as seen in current version of ATK iv analysis additional plot) or drawing line(as in older version of ATK) to specify the bias window in the transmission spectra.

Can I get the script or suggestion on how to create?

Thanks...

Offline Pieter Vancraeyveld

  • Regular QuantumATK user
  • **
  • Posts: 22
  • Country: dk
  • Reputation: 1
    • View Profile
Re: script for transmission spectrum various bias
« Reply #1 on: July 21, 2020, 15:30 »
Can you share your script? Perhaps we can give you some suggestions based on what you have written already.

Offline Aadhityan

  • Regular QuantumATK user
  • **
  • Posts: 13
  • Country: in
  • Reputation: 0
    • View Profile
Re: script for transmission spectrum various bias
« Reply #2 on: September 22, 2020, 08:48 »
Thanks for your reply. Hereby, I have attached my script. Kindly look at it.

Thanks...


Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5573
  • Country: dk
  • Reputation: 95
    • View Profile
    • QuantumATK at Synopsys
Re: script for transmission spectrum various bias
« Reply #3 on: October 2, 2020, 20:51 »
Just add a plot style argument to each plot command. If you want a blue dashed line:

aa.plot(t.energies(), f,t.evaluate(), 'b--', zorder=6,label='1.0 V', )

or more explicitly

aa.plot(t.energies(), f,t.evaluate(), zorder=6, label='1.0 V', color='blue', linestyle='--')

For more  info, see https://matplotlib.org/2.1.2/api/_as_gen/matplotlib.pyplot.plot.html