2012-05-05 89 views
1

私がプロットしようとしているデータは、datetimeに対する温度(SAS datetime形式)です。私はx軸の間隔を1時間または1日にしたいと思います。私は下のコードに疑問符を置いた場所をどこに置くべきかを知っていますか?sgplot - x軸のSAS時系列データ

ありがとうございます!

%macro makeplot; 
proc sgplot data = temp.heating; 
where dwelling = 8 & room = 1; 
series x = datetime y = temp; 
*xaxis values = (&start_date_time to &end_date_time by ?); 
run; 

%mend makeplot; 
%makeplot; 

答えて

1

SAS datetimes store秒、86400は日を与え、3600は時間を与えます。

+0

ありがとうございました! :) –

関連する問題