Author Topic: Color-map  (Read 3296 times)

0 Members and 1 Guest are viewing this topic.

Offline Dipankar Saha

  • Supreme QuantumATK Wizard
  • *****
  • Posts: 516
  • Country: in
  • Reputation: 5
    • View Profile
Color-map
« on: September 18, 2017, 15:25 »
Hello,

Is it possible to change the default "color-map" of any Complex Bandstructure ??

Thanks and Regards_
Dipankar

Offline Jess Wellendorff

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 933
  • Country: dk
  • Reputation: 29
    • View Profile
Re: Color-map
« Reply #1 on: September 19, 2017, 09:52 »
No, this does not appear to be possible.

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5576
  • Country: dk
  • Reputation: 96
    • View Profile
    • QuantumATK at Synopsys
Re: Color-map
« Reply #2 on: September 21, 2017, 19:46 »
Change the line
COLOR_MAP = 'Spectral'
lib/site-packages/AddOns/ComplexBandstructurePlugins/ComplexBandstructure2DPlot.py
Supported maps are those shown here: https://matplotlib.org/examples/color/colormaps_reference.html

You do need to restart VNL however for any such changes to take effect