Home
  • Products
  • Solutions
  • Support
  • Company

This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  • Products
  • Solutions
  • Support
  • Company
Community Custom IC SKILL Unable to change the color of VIVA plot's curves

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 136
  • Views 1213
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Unable to change the color of VIVA plot's curves

SurajK
SurajK 10 months ago

I am trying to change the color of the VIVA plot using SKILL command but I am unable to.

I am going with the command 

envSetVal("viva.trace" "hiliteColor" 'string "blue")

But no matter what I do its always plotting in default color which is red.

Also I noticed that I am able to control the linethichkness and linestyle using SKILL code

envSetVal("viva.trace" "lineThickness" 'string "Thick")
envSetVal("viva.trace" "lineStyle" 'string "Dot")

Is there any other command in SKILL to change the VIVA plot's line trace or is the SKILL code used above not implemented yet in Cadence?

Can someone please help me with this?

Thanks

  • Cancel
  • Andrew Beckett
    Andrew Beckett 10 months ago

    envSetVal("viva.graph" "colorBank" 'string "blue")

    will do this. Or:

    envSetVal("viva.graph" "colorBank" 'string "yellow; green; blue")

    will cycle through those three colours. I don't think the hiliteColor is used any more (the documentation is not very clear on this, I agree).

    Andrew

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • SurajK
    SurajK 10 months ago in reply to Andrew Beckett

    Yes this works. Thanks!

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • SurajK
    SurajK 10 months ago in reply to Andrew Beckett

    Also, could you please let me know if there is a command to set the title of the ViVA graph that I am plotting?

    Right now I am doing the ?expr strcat("Trace Label") which sets the label of the curve that I am plotting. Is there any command to give a title to the whole subwindow?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett 10 months ago in reply to SurajK

    addSubwindowTitle("This is what you want")

    Andrew

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • SurajK
    SurajK 10 months ago in reply to Andrew Beckett

    Thanks!

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information