2DGraph HorizontalBar

From Software Product Documentation
Revision as of 17:19, 20 April 2022 by Wikisysop (talk | contribs)
Jump to navigation Jump to search

Draw horizontal bars on a Report Graph

As a simple example, create a P2D signal representing the frames and ON/OFF values

! make the GLOBAL workspace active
Select_Active_File
/FILE_NAME=GLOBAL
! /QUERY=
;
! create a signal of ON/OFF values
Evaluate_Expression
/EXPRESSION=LIST(VECTOR(0,1),VECTOR(1,0),VECTOR(2,1),VECTOR(3,0),VECTOR(4,1))
/RESULT_TYPES=P2D
/RESULT_FOLDERS=BARS
/RESULT_NAME=BAR1
! /APPLY_AS_SUFFIX_TO_SIGNAL_NAME=FALSE
;

The resulting signal is

Create a Report 2D Graph

The resulting graph is

Simple Horizontal Line

Evaluate_Expression
/EXPRESSION=
:LIST (
::VECTOR(1,50) ,
::VECTOR(101,50) )
! /SIGNAL_TYPES=
! /SIGNAL_FOLDER=ORIGINAL
! /SIGNAL_NAMES=
/RESULT_TYPES=P2D
/RESULT_FOLDERS=HORIZON
/RESULT_NAME=GLOBAL::FIFTY
! /APPLY_AS_SUFFIX_TO_SIGNAL_NAME=FALSE
;
Retrieved from ""