BookmarkSubscribeRSS Feed
deleted_user
Not applicable
How do I remove the black line (ie border) from my greplay output (ie many gplots)?
The border extends above my greplay output and to the right of my greplay output.
"goptions noborder" doesn't remove the border.
I added color=yellow to proc greplay. This created a yellow line over the black line (ie border).

goptions xpixels=800 ypixels=1200;
goptions display;
goptions noborder;
title;footnote;
proc greplay tc=tempcat nofs igout=work.gseg;
tdef rdpgrid
0/llx = 0 lly = 0
ulx = 0 uly =100
urx =100 ury =100
lrx =100 lry = 0
color=yellow
1/llx =1.0 lly = 76
ulx =1.0 uly = 89
urx =49.5 ury = 89
lrx =49.5 lry = 76
2/llx =50.5 lly = 76
ulx =50.5 uly = 89
urx =79.5 ury = 89
lrx =79.5 lry = 76
3/llx =1.0 lly = 61
ulx =1.0 uly = 74
urx =19.5 ury = 74
lrx =19.5 lry = 61
4/llx =20.5 lly = 61
ulx =20.5 uly = 74
urx =39.5 ury = 74
lrx =39.5 lry = 61
5/llx =40.5 lly = 61
ulx =40.5 uly = 74
urx =79.5 ury = 74
lrx =79.5 lry = 61
6/llx =1.0 lly = 46
ulx =1.0 uly = 59
urx =19.5 ury = 59
lrx =19.5 lry = 46
7/llx =20.5 lly = 46
ulx =20.5 uly = 59
urx =39.5 ury = 59
lrx =39.5 lry = 46
8/llx =40.5 lly = 46
ulx =40.5 uly = 59
urx =59.5 ury = 59
lrx =59.5 lry = 46
9/llx =60.5 lly = 46
ulx =60.5 uly = 59
urx =79.5 ury = 59
lrx =79.5 lry = 46
10/llx =1.0 lly = 31
ulx =1.0 uly = 44
urx =19.5 ury = 44
lrx =19.5 lry = 31
11/llx =20.5 lly = 31
ulx =20.5 uly = 44
urx =39.5 ury = 44
lrx =39.5 lry = 31
12/llx =40.0 lly = 31
ulx =40.0 uly = 44
urx =59.5 ury = 44
lrx =59.5 lry = 31
13/llx =60.5 lly = 31
ulx =60.5 uly = 44
urx =79.5 ury = 44
lrx =79.5 lry = 31
14/llx =1.0 lly = 16
ulx =1.0 uly = 29
urx =19.5 ury = 29
lrx =19.5 lry = 16
15/llx =20.5 lly = 16
ulx =20.5 uly = 29
urx =39.5 ury = 29
lrx =39.5 lry = 16
16/llx =40.0 lly = 16
ulx =40.0 uly = 29
urx =59.5 ury = 29
lrx =59.5 lry = 16
17/llx =60.5 lly = 16
ulx =60.5 uly = 29
urx =79.5 ury = 29
lrx =79.5 lry = 16
18/llx =1.0 lly = 1
ulx =1.0 uly = 14
urx =19.5 ury = 14
lrx =19.5 lry = 1
19/llx =20.5 lly = 1
ulx =20.5 uly = 14
urx =39.5 ury = 14
lrx =39.5 lry = 1
20/llx =40.5 lly = 1
ulx =40.5 uly = 14
urx =59.5 ury = 14
lrx =59.5 lry = 1
21/llx =60.5 lly = 1
ulx =60.5 uly = 14
urx =79.0 ury = 14
lrx =79.0 lry = 1
;
run;
template = rdpgrid;
treplay
0:titles
1:plot1 2:plot2
3:plot3 4:plot4 5:plot5
6:plot6 7:plot7 8:plot8 9:plot9
10:plot10 11:plot11 12:plot12 13:plot13
14:plot14 15:plot15 16:plot16 17:plot17
18:plot18 19:plot19 20:plot20 21:plot21
des='' name="line";
run;
quit;
3 REPLIES 3
GraphGuy
Meteorite | Level 14
I'm a little fuzzy on the ~exact details, in varying situations, but I think typically if you specify "goptions noborder" before you create the individual graphs/grsegs, and then don't specify any color= when you create the greplay template, then there won't be any borders drawn around the areas in your final greplay graph.

Is it possible that when you created the original grsegs you had the "goptions border" turned on, and you're still re-using those grsegs?

If you were in the same sas session, and changed to "goptions noborder", and re-generated your graphs (without deleting the previous grsegs), then the new ones would automatically add an incremented number to the grsegs, and since your greplay was using the old grseg names it would still get the old ones with the border around them. (Just one possible scenario...)

If this doesn't fix the problem, could you perhaps create a small/simple example to post up (the complete code, generating the graph, and the greplay template, etc)?
deleted_user
Not applicable
tagsets.tableeditor appears to be causing the black line.
After I removed tableeditor the black line went away.
When I was running my code in 9.1 tagsets.tableeditor did not cause a black line, but in 9.2 I started seeing the black line.

However, I'm still seeing the yellow border.
The yellow line first appeared when I tried this code below. I tried commenting out "color=yellow" and re-started SAS. Even when I change color=green I still only see the yellow border.

proc greplay tc=tempcat nofs igout=work.gseg;
tdef rdpgrid des='BUs'
0/llx = 0 lly = 0
ulx = 0 uly =100
urx =100 ury =100
lrx =100 lry = 0
/*color=yellow*/

I put the following code near the top of my code, but it doesn't seem to help with the yellow border:
proc greplay igout=work.gseg nofs;
delete _all_;
run;quit;
Cynthia_sas
SAS Super FREQ
Hi:
It was my understanding that TAGSETS.TABLEEDITOR takes your HTML output and then uses embedded JavaScript to send the HTML output to Excel. So, in the transformation and changes between HTML, JavaScript and Excel, I'm not sure where your particular issue is happening.

Your best bet may be to work with Tech Support on this issue. They can look at all your code (including the ODS invocation for TAGSETS.TABLEEDITOR) and run tests in SAS 9.1.3 and SAS 9.2. If adjustments are needed to TAGSETS.TABLEDITOR for SAS 9.2, then Tech Support can work on making that happen.

cynthia

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 1636 views
  • 0 likes
  • 3 in conversation