The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
May 3rd, 2024, 12:53am
Pages: 1
Send Topic Print
ymin and ymax in Ocean Script (Read 2367 times)
KCT
New Member
*
Offline



Posts: 2

ymin and ymax in Ocean Script
Jan 15th, 2011, 11:20pm
 
I am facing a problem of using ymin and ymax functions.

It always returns me a error like, *Error* eval: unbound variable - ymin.

My script is in the following.  Could anyone shine some light on it?  Thanks a lot.

analysis('tran ?stop "0.4m"  )
desVar(        "sen" 900m      )
desVar(        "parameter_ini" 200n      )
desVar(        "parameter_dc2" 210n      )
desVar(        "parameter_dc1" 230n      )
paramAnalysis( "parameter_dc2" ?start 200n ?stop 400n ?step 100n
   paramAnalysis( "parameter_dc1" ?start 200n ?stop 400n ?step 100n)
)
temp( 27 )
paramRun()
selectResult( 'tran )
plot(getData("/Out2") getData("/Out1") getData("/Out1_no_fb") getData("/Out2_no_fb") )
min_value1 = ymin (VT("/Out1") )
Back to top
 
 
View Profile   IP Logged
KCT
New Member
*
Offline



Posts: 2

Re: ymin and ymax in Ocean Script
Reply #1 - Jan 16th, 2011, 12:18am
 
The problem had been resolved.  

Just delete the 'space' between ymin and the brackets "(" .
Back to top
 
 
View Profile   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.