changing default plot window size from OCEAN
CADForums.net Forum Index CADForums.net
Discussion of AutoCAD and other CAD software.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web cadforums.net
changing default plot window size from OCEAN

 
Post new topic   Reply to topic    CADForums.net Forum Index -> Cadence
Author Message
chava
Guest





Posted: Tue Jan 04, 2005 1:59 am    Post subject: changing default plot window size from OCEAN Reply with quote

Hi All,

I am not able change the default window size when I open a newWindow
with the command w=newWindow(). I have added the following lines to my
..cdsenv and it works fine when I open waveform viewer from Analog
Artist. I'm loosing a lot of resolution because of small default window
size and I cannot change each window manually since it a part of long
script that puts out many windows.

asimenv.plotting width int 1072
asimenv.plotting artistPlottingMode string "Append"
asimenv.plotting x int 583
asimenv.plotting icons boolean nil
asimenv.plotting y int 403
asimenv.plotting height int 703

thanks in advance.

Chaitanya Chava.

Back to top
Andrew Beckett
Guest





Posted: Tue Jan 04, 2005 7:15 pm    Post subject: Re: changing default plot window size from OCEAN Reply with quote

Instead of using the simplified newWindow(), which is just a wrapper around
awvCreatePlotWindow(), use awvCreatePlotWindow() directly as this supports a
?bBox keyword argument allowing you to specify the window size/location:

awvCreatePlotWindow(?bBox list(100:100 1000:600))

For example.

The default location can also be set from an Xdefaults setting (this is
covered in Chapter 1 of the "Analog Waveform User Guide" - and is done
with something like:

Opus*awvPlot: 500x500+0+0

But that's not going to help you much from a program.

Another approach might be to do:

win=newWindow()
hiResizeWindow(win newBBox)

but I'd do the first method above...

Andrew.

On 3 Jan 2005 12:59:37 -0800, "chava" <cchava@gmail.com> wrote:

Quote:
Hi All,

I am not able change the default window size when I open a newWindow
with the command w=newWindow(). I have added the following lines to my
.cdsenv and it works fine when I open waveform viewer from Analog
Artist. I'm loosing a lot of resolution because of small default window
size and I cannot change each window manually since it a part of long
script that puts out many windows.

asimenv.plotting width int 1072
asimenv.plotting artistPlottingMode string "Append"
asimenv.plotting x int 583
asimenv.plotting icons boolean nil
asimenv.plotting y int 403
asimenv.plotting height int 703

thanks in advance.

Chaitanya Chava.
Back to top
chava
Guest





Posted: Tue Jan 04, 2005 7:43 pm    Post subject: Re: changing default plot window size from OCEAN Reply with quote

Thanks Andrew. your method worked for me.

Chaitanya.

Back to top
 
Post new topic   Reply to topic    CADForums.net Forum Index -> Cadence All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server DSP VoIP Electronics New Topics
Contact Us
Powered by phpBB