Hi all,
I would like to create an overlay plot with multiple data series. I see how I can copy the script and paste it into my code, but what if I don't know in advance how many columns I will have? Also, what can I do about using different markers as well?
Here is a copy of my script. This is one of my smaller files, so naturally I would't want to have to type in all those lines! Thanks in advance.
Overlay Plot(
X( :Drain_Voltage ),
Y(
:Y_17,
:Y_18,
:Y_19,
:Y_20,
:Y_21,
:Y_22,
:Y_23,
:Y_24,
:Y_25,
:Y_26,
:Y_27,
:Y_28,
:Y_29,
:Y_30,
:Y_31,
:Y_32,
:Y_33,
:Y_34,
:Y_35,
:Y_36,
:Y_37,
:Y_38,
:Y_39
),
Overlay Axis << {{Min( 0.01 ), Max( 100 ), Inc( 1 ), Minor Ticks( 1 )}},
:Y_17( Overlay Marker( 8 ) ),
:Y_18( Overlay Marker( 1 ) ),
:Y_20( Overlay Marker( 2 ) ),
:Y_21( Overlay Marker( 5 ) ),
:Y_22( Overlay Marker( 6 ) ),
:Y_23( Overlay Marker( 17 ) ),
:Y_24( Overlay Marker( 7 ) ),
:Y_25( Overlay Marker( 11 ) ),
:Y_26( Overlay Marker( 3 ) ),
:Y_27( Overlay Marker( 18 ) ),
:Y_28( Overlay Marker( 19 ) ),
:Y_29( Overlay Marker( 24 ) ),
:Y_30( Overlay Marker( 25 ) ),
:Y_31( Overlay Marker( 26 ) ),
:Y_32( Overlay Marker( 27 ) ),
:Y_33( Overlay Marker( 28 ) ),
:Y_34( Overlay Marker( 29 ) ),
:Y_35( Overlay Marker( 30 ) ),
:Y_36( Overlay Marker( 31 ) ),
:Y_37( Overlay Marker( 9 ) ),
:Y_38( Overlay Marker( 10 ) ),
:Y_39( Overlay Marker( 8 ) ),
SendToReport(
Dispatch(
{},
"102",
ScaleBox,
{Min( 0.01 ), Max( 100 ), Inc( 1 ), Minor Ticks( 1 )}
),
Dispatch( {}, "", AxisBox, {Add Axis Label( "Idleak (uA)" )} ),
Dispatch( {}, "Y", TextEditBox, {Set Text( "Idleak (uA)" )} ),
Dispatch( {}, "Overlay Plot Graph", FrameBox, {Frame Size( 740, 585 )} )
)
)