2DGraph HorizontalBar

From Visual3D Wiki Documentation
Jump to: navigation, 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

BarGraph1.jpg

Create a Report 2D Graph

BarGraph2.jpg

The resulting graph is

BarGraph3.jpg

Retrieved from ""