I have a question about proc sgplot. I want to use macro variables to set the range of proc sgplot in the values option of the YAXIS statement,e.g., values=(&minv. to &maxv. by 1). When I do this the data plotted on the yaxis of the plot are off from the actual data values, usually by about $1. When I replace the macro variables in the values option with actual numbers, e.g., values=(140 to 175 by 1) then the plotted y-axis values match the data. Has this been seen before? Is there a resolution? I tried valueshint option but this did not seem to work. I instead tried min=&minv. max=&maxv. and this will work, however, I have not been able to find a way to set the plotted incremental values on the yaxis,but these go by a default to values larger than $1. I tried INTERVAL option,for this case, but it does not seem to work in the case of continuous numerical values, just categorical ones like "week_date" [say each Monday date for a series of weeks]. I'm not certain if the resolution of this is easy or not. I have looked on the internet. Any ideas of how to possibly resolve this? Thank you, Eric
... View more