Plot Expressions

NOTE: Expressions can also contain any of the following operators: the sum (+), difference (-), product ( * ), quotient ( / ), remainder of two waveforms or the modulo operator (=>), and power (^).

The following table lists waveform functions that you can use to plot expressions.

Waveform Functions               
                                 
Function                          Description                                                    
                                                                                                 
+                                 
Addition (sum)                                                 
                                                                                                 
-                                 Subtraction (difference)                                       
                                                                                                 
*                                 Multiplication                                                 
                                                                                                 
/                                 Division (quotient)                                            
                                                                                                 
%                                 Percentage                                                     
                                                                                                 
^                                 Control                                                        
                                                                                                 
[                                 Left Brace                                                     
                                                                                                 
]                                 Right Brace                                                    
                                                                                                 
;                                 Semi-colon  (split axis)                                       
                                                                                                 
abs(waveform)                     The absolute value of the waveform                             
                                                                                                 
atan(waveform)                    Arc tangent of a waveform                                      
                                                                                                 
cos(waveform)                     Cos of a waveform                                              
                                                                                                 
d(waveform)                       Derivative of a waveform                                       
                                                                                                 
db(waveform)                      20 * log base10(mag(waveform))                                 
                                                                                                 
deriv                             Derivative                                                     
                                                                                                 
exp(waveform)                     E to the power of the waveform                                 
                                                                                                 
Imag(waveform)                    The imaginary part of a complex waveform                       
                                                                                                 
integ                             Integral                                                       
                                                                                                 
j(waveform)                        j * waveform where j=sqrt(-1)                                 
                                                                                                 
length(waveform)                  The number of elements in a waveform                           
                                                                                                 
ln(waveform)                      Natural log of the waveform                                    
                                                                                                 
log(waveform)                     log base 10 of the waveform                                    
                                                                                                 
log10                             Logarithm - base 10                                            
                                                                                                 
Mag(waveform)                     The magnitude of an AC (complex) waveform                      
                                                                                                 
max                               Maximum                                                        
                                                                                                 
mean(waveform)                    A single number which is the mean of the values in the waveform
                                                                                                 
min                               Minimum                                                        
                                                                                                 
norm(waveform)                    Every element of the waveform divided by the largest element in 
                                  the waveform so that everything is between -1 and +1            
                                                                                                 
ph(waveform)                      The phase portion of a AC waveform                             
                                                                                                 
Real(waveform)                    The real part of a complex waveform                            
                                                                                                 
rnd(waveform)                     A waveform with each element begin a random number between 0   
                                  and the corresponding element of the source waveform            
                                                                                                 
s(waveform)                       Integral of a waveform                                         
                                                                                                 
sin(waveform)                     Sin of a waveform                                              
                                                                                                 
sqrt(waveform)                    The square root of a waveform                                  
                                                                                                 
tan(waveform)                     Tan of a waveform                                              
                                                                                                 
vector(number)                    Make a waveform with value 1,2,...number