I have at each time, before my graphics, this :
The UNIVARIATE Procedure
(the variable name and the modality of group variable)
what the way to control this in my output ?
I don't find it in the style template, and i seek it during long hours....
I want to use directly the output and the output with "the univariate procedure..." before the graphs is not really usefull, and it will be very nice to remove this text.
Thank you and have a nice day.
in fact, to remove : "the univariate procedure" before my graph is simple,
i have just to add an ods noproctitle in my code and it will be OK.
but where can i retrieve the information :Variable: Height Sex=F
if i want to put the information Sex=F in the file png ?
what the way to remove this information :":Variable: Height Sex=F" if i don't want it in my output before my graph ?
thank you very much for yours answers ;-))
Keep in mind that in SAS 9.2, the ODS Graphics framework does NOT use GOPTIONS, as it says in the documentation: http://support.sas.com/documentation/cdl/en/statug/59654/HTML/default/statug_odsgraph_sect019.htm
Note that traditional graphs are saved in SAS graphics catalogs and are controlled by the GOPTIONS statement. In contrast, ODS Graphics produces graphs in standard image file formats (not graphics catalogs), and their appearance and layout are controlled by ODS styles and templates.
To change the image format of the output for ODS GRAPHICS, investigate the IMAGEFMT= option (however, I do not believe that the device driver is causing the issue that was originally reported.) When you use ODS Graphics, the title on the graph: Q-Q Plot for XXXXXX is placed there by an ENTRYTITLE statement in the Graph Template. I thought the original requirement was to get the BY group information into the body of the graph.
In SAS 9.2, there isn't a way to insert byline information into the Graph template; so the Byline information appears in the ODS destination file along with the other information. However, you could have a Univariate step for each BY group and create a macro variable to hold the BY group value. Then a change to ENTRYTITLE (and a couple of other places on the Graph template) could get extra information into the Q-Q plot graphic output.
This may be a question for Tech Support, as it makes a difference whether they are using SAS 9.2 or SAS 9.1.3 to produce this output. ODS Graphics was experimental in SAS 9.1.3 and it's possible that techniques that produce one result in SAS 9.1.3 will not produce the same result in SAS 9.2, when ODS Graphics capability became production.
I have only the 9.1.3 sas version,
and the original program submitted was stopping upon the lack of QQplot ods element in the ods rtf (sandwich)!
Monpe was also speaking about a png file.
In 9.2 does the interaction between an eventually forgotten goptions and ods graphics
If i retry under 9.1.3 my program without goptions and with only
ods rtf and ods graphics on
there is a gseg catalog created !
The functioning under 9.2 will be completely different?
Thanks for some insight as 9.2 is not yet distributed in France for me.
It would be like comparing apples and oranges. Apples are red or green outside. Oranges are mostly orange outside. They both have seeds (unless you have seedless oranges). Yes, they are both members of the fruit family, but they are COMPLETELY different.
So too, are ODS GRAPHICS in SAS 9.1.3 and ODS GRAPHICS in SAS 9.2 very different. It was my understanding that "turning on" Proc Univariate for ODS GRAPHICS was a 9.2 enhancement -- so it's possible that the QQPLOT graph object is NOT created at all in SAS 9.1.3. What you may be seeing are the results of asking for QQPLOT using Univariate -- that capability predated ODS GRAPHICS ON/OFF.
In addition, back to the apples vs oranges comparison -- you really cannot compare how graphs were/are created in SAS 9.1.3 and how graphs are created in SAS 9.2, especially with the ODS GRAPHICS Framework -- which includes (but is not limited to) the ODS GRAPHICS ON/OFF statements because the underlying infrastructure of SAS/Graph and ODS Graphics was entirely changed to use STYLE Templates for ALL graphics output and drivers. This was not true for SAS 9.1.3, only the ActiveX-based and Java-based drivers use style templates in SAS 9.1.3.
But, it is true that GOPTIONS do not have an impact on anything you create with ODS GRAPHICS ON/OFF or anything you create with the new "SG" procedures (SGPLOT, SGSCATTER, SGPANEL). GOPTIONS -can- impact SAS/Graph output and in some instances, a GOPTIONS setting could "clobber" a setting inside the style template.
If you have legacy SAS/Graph code that you want to run in SAS 9.2 and if the code has been heavily customized with COLOR, and FONT settings using SAS/Graph methods, then you will want to investigate the GSTYLE system option in order to make sure that your legacy programs continue to run, as originally programmed. Another change between SAS 9.1.3 and SAS 9.2 involves the fact that for ODS GRAPHICS, PNG files are usually created (instead of GRSEG catalog entries). For some destinations, like LISTING (in SAS 9.2) when you click on a graph, your default system picture viewer is used to display the graph output. On the other hand, if you continue to use SAS/Graph methods, then a GRSEG entry could be created that would use the SAS Style template information for colors and fonts, if the GSTYLE option is turned on.
There have been quite a few SAS Global Forum papers announcing the new infrastructure. Here are a few: