• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC Design
  3. Generate legenend on a plot

Stats

  • Locked Locked
  • Replies 19
  • Subscribers 124
  • Views 23094
  • 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

Generate legenend on a plot

wgtkan
wgtkan over 12 years ago
I am using Virtuoso Design environment version IC6.1.5-64b.500.15 and I am trying to generate a parametric simulation with legends showing on the plot

I am able to carry out the parametric simulation but the legend is not showing. How do I produce the legend as shown on this diagram?

Thanks in advance.
Legened plot.pdf
  • Cancel
  • wgtkan
    wgtkan over 12 years ago

     I have to save the code as abFixFonts.il in my working directory and write load('abFixFonts.i'") and abFixFonts() in my .cdsinit?

    Thanks in advance.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    Yes, or you can paste it into your CIW and type abFixFonts() in the CIW. Note that the load call that you wrote above should be load("abFixFonts.il")  (not single quotation marks).

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • wgtkan
    wgtkan over 12 years ago

    Hello Andrew:

     load("abFixFonts.il")
    abFixFonts()

    That is what I have added in my .cdsinit file. I am getting a warning message that it is not a valid path. I see that my simulations are being saved at tmp directory to prevent from files overcrowding my alloted quota. WARNING* artSetWindowDataDir /spectre/schematic" is not a valid data directory. I do I change the waveform directory to save it into the tmp directory?

    Thank you again.

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    You're getting a warning that what is not a valid path? Showing the precise details from the CIW or CDS.log really would help, as this warning can't be related to the code I sent.

    There's nothing in the code that can produce that artSetWindowDataDir warning. I think you probably need to show the entire info from the CIW around the warning - my guess is that you're showing part of the error message. 

    If the simulation results are saved in /tmp, presumably something in your environment is setting the cdsenv for the projectDir.

    There should be no need to change the waveform dir to save it into the tmp dir. 

    Andrew.

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • wgtkan
    wgtkan over 12 years ago

     WARNING* artSetWindowDataDir: "/home/users/wako/simulation/Elema/BJT_IV_2/adexl/results/data/.tmpADEDir_wako/Elema:BJT_IV_2:1/simulation/BJT_IV_2/spectre/schematic" is not a valid data directory

    is the error I am getting in the cds.log file

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • wgtkan
    wgtkan over 12 years ago

    I have saved the code
    as abFixFonts.il in my in my
    root directory and wrote load("abFixFonts.il")

    abFixFonts()   in my .cdsinit file and here is the plot I am getting.



     

    • ID_VGS_PMOS.png
    • View
    • Hide
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • wgtkan
    wgtkan over 12 years ago

    The issue is fixed now. When I was saving the code, the text format was italics. That is why it was not working previously. I see the plot is different now.

    Thank you so much.

    • ID_VDS_N.png
    • View
    • Hide
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • wgtkan
    wgtkan over 12 years ago

     Everytime I have to call the function from CIW using abFixFonts(). For some reason, everytime I start virtuoso and generate plot it wont come on by default. 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    I can't see why that would be; I suspect that whatever file you are putting the call in is not being loaded. I would suggest contacting Customer Support.

    Regards,

    Andrew.

    • 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