Bonjour,
j'utilise une proc univariate avec statement histogram pour afficher l'histogramme de la distribution d'une variable numérique.
J'exécute le code suivant pour rediriger la sortie dans un fichier Excel.
J'obtiens dans la log :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46 %Macro OptionsStandardXml(MyResultFile) / store; option locale=french; option orientation=portrait papersize="ISO A4" TopMargin = '0.8in' BottomMargin = '0.8in' nodate nonumber ; ods listing close; ods noproctitle; ods tagsets.excelxp file=&MyResultFile style=seaside options(embedded_titles='yes' embedded_footnotes='yes' Center_Horizontal = 'yes' Center_Vertical = 'yes' contents='no' index='no' orientation='portrait' FitToPage = 'yes' Absolute_Column_Width='20' Autofit_Height = 'YES' Pages_FitWidth = '1' Pages_FitHeight = '3000' Print_Header="" Print_Footer='&E DIRECTION/ETUDES, &J &C &D Pages &P sur &T' doc='Changelog' ); %Mend; %OptionsStandardXml("C:\toto.xls"); ods tagsets.excelxp options(Sheet_name='CoeffDev' sheet_interval='none'); proc univariate data=donnees; var coeffdev; histogram coeffdev; run; ods tagsets.excelxp close; ods listing;
L'histogramme n'apparait pas dans toto.xls. Les statistiques de la proc univariate apparaissent bien.WARNING: The specified/default value of VSIZE of 10.0938 inches and VORIGIN of
0.0000 inches exceeds the maximum for the PNG printer. VSIZE is
changed to 8.4896 inches.
En sortie "normale" dans l'output dans utiliser l'ods, l'histogramme apparait normalement.
Je n'arrive pas à trouver ce qui ne va pas. Si quelqu'un a une idée, je suis preneur.
Merci.
![]()
Partager