BookmarkSubscribeRSS Feed
PoulRavn
Obsidian | Level 7

Hi, I had a question 2 weeks ago on how to generate a html page with an 'index.html' file an graphs generated by proc gplot. I got htat to work thanks to several useful answers.

I would like to improve a bit though:

1) For each invocation of gplot there is generated graphs (by parameter in use). In the toc file,which is in the left hand part of the screen and taking up approximately 20 % of the screen, every entry has the same name: "The Gplot Procedure" followed by a clickable text, which always displays the actual plot-statement used by gplot. It would be nice, if the entry could be controlled to display a text, that reflected what was shown. This applies both for the "The Gplot Procedure" and the sub-entry. I know that this is in the html file itself, but I wonder, whether this is controllable from the program statements themselves.

2) I would like to reduce the size of of the TOC to less

3) I do not seem to be able to control the length of the axes in the gplot pictures, particlarly not the x-axis, using the length statement beyond 20 cm. Is there a reason for this?

Regards

Poul

1 REPLY 1
Kurt_Bremser
Super User

Look at ODS PROCLABEL to change entry names.

Also see if you can use SGPLOT instead of GPLOT, it has the DESCRIPTION= option in the PROC SGPLOT statement to manipulate TOC entries.

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1054 views
  • 0 likes
  • 2 in conversation