Graph->Properties->Graph Options, then alter the Legend
Position. The right subwindow shows where I've set this to "above", the
left subwindow shows the default which is "left".
In reply to Andrew Beckett:
Thank you very much for your promt response Andrew.
In reply to wgtkan:
It was actually a region screenshot with ksnapshot (not sure why I did that rather than File->Save Image, which if I use "Exact Copy of Window" should give me exactly what I get on the screen).
I have a few problems with the fonts on my laptop - this is related to some font limitations in the Qt infrastructure we're using - so whilst the UI suggested that the plots you were seeing were using Helvetica, they weren't really (as you can see there are some serifs on the fonts).
I normally use this bit of code to try fixing up my fonts - they actually set them to the default values:
procedure(abFixFonts() let((curVal toolpartition pat) pat=pcreCompile("^Default") foreach(partition '(axis horizMarker referenceLineMarker vertMarker pointMarker refPointMarker specMarker interceptMarker circleMarker multiDeltaMarker transEdgeMarker graphLabel probe polarGrid smithGrid) sprintf(toolpartition "viva.%s" partition) when(envIsVal(toolpartition "font") curVal=envGetVal(toolpartition "font") printf("replacing %s font\n" toolpartition) envSetVal(toolpartition "font" 'string pcreReplace(pat curVal "Helvetica" 1) ) ) ) ))
Here's a resulting Save Image from having picked the above.
Thank you very much indeed Andrew.
I used the code to fix the formatting issues. Ientered the code in the CIW and this is the plot I am getting:
After loading the code in the CIW, did you run the function abFixFonts() - I don't think so because your fonts still appear to have serifs.
AFter loading the code in the CIW, where do I run the function abFixFonts()? Do I have to load it in the CIW:
Just type abFixFonts() in the CIW (that's not "loading" it; it's executing the function). You could also do:
in your .cdsinit so that it runs it each time you start Virtuoso (if it helps your problem). I'm assuming in the above you've saved the code into a file called abFixFonts.il
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.
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).
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.
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.
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