Commit c24bed02 authored by Carl Schreck's avatar Carl Schreck
Browse files

Automated Nightly Commit - Sat Jan 5 00:00:39 EST 2019

parent 9ad7010d
...@@ -124,6 +124,12 @@ begin ; cjs_draw_xy ...@@ -124,6 +124,12 @@ begin ; cjs_draw_xy
; ...set up the legend ; ...set up the legend
genRes = True genRes = True
genRes@simple = True genRes@simple = True
if( isatt( i_res, "XPosPercent" ) ) then
genRes@XPosPercent = i_res@XPosPercent
end if
if( isatt( i_res, "YPosPercent" ) ) then
genRes@XPosPercent = i_res@YPosPercent
end if
genRes = pick_legend_corner( i_xData, i_yData, genRes ) genRes = pick_legend_corner( i_xData, i_yData, genRes )
......
...@@ -47,17 +47,7 @@ begin ; pick_legend_corner ...@@ -47,17 +47,7 @@ begin ; pick_legend_corner
; + " " + upperRight ) ; + " " + upperRight )
res = True res = True
if( lowerRight.eq.minQuad ) if( lowerLeft.eq.minQuad )
print( "Lower Right" )
res@XPosPercent = 60
res@YPosPercent = 5
res@Position = "Bottom"
else if( upperRight.eq.minQuad )
print( "Upper Right" )
res@XPosPercent = 60
res@YPosPercent = 95
res@Position = "Top"
else if( lowerLeft.eq.minQuad )
print( "Lower Left" ) print( "Lower Left" )
res@XPosPercent = 5 res@XPosPercent = 5
res@YPosPercent = 5 res@YPosPercent = 5
...@@ -67,6 +57,16 @@ begin ; pick_legend_corner ...@@ -67,6 +57,16 @@ begin ; pick_legend_corner
res@XPosPercent = 5 res@XPosPercent = 5
res@YPosPercent = 95 res@YPosPercent = 95
res@Position = "Top" res@Position = "Top"
else if( lowerRight.eq.minQuad )
print( "Lower Right" )
res@XPosPercent = 60
res@YPosPercent = 5
res@Position = "Bottom"
else if( upperRight.eq.minQuad )
print( "Upper Right" )
res@XPosPercent = 60
res@YPosPercent = 95
res@Position = "Top"
end if end if
end if end if
end if end if
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment