You can use the fresh new LABELLOC= substitute for place the name into the or away from research town of chart

con No hay comentarios

You can use the fresh new LABELLOC= substitute for place the name into the or away from research town of chart

Site lines with names

For many who should include a label into the resource lines, you should use the fresh Title= choice to identify no less than one names. I enjoy «outside» (the new standard) due to the fact then your range cannot hinder the newest identity. You are able to the latest LABELPOS= substitute for establish whether or not the term are shown above or bottom (for a vertical resource range) otherwise from the leftover or right (getting a horizontal site range). The next example contributes labels with the earlier in the day analogy.

Reference outlines within calculated metropolises

Sometimes the brand new site beliefs will be the outcome of a formula. The brand new REFLINE viewpoints together with Name= choice will come off variables during the a good SAS research set. To own numerous opinions, you probably want to program the values in «a lot of time mode.»

An example was exhibiting descriptive statistics for example a hateful, average, and you can percentiles. The next telephone call so you can PROC Setting exercises about three statistics to your Cholesterol levels adjustable: the latest average, the newest 25th percentile, plus the 75th percentile. The new production out of PROC Means is but one row and about three columns, so i play with PROC TRANSPOSE to alter the information set towards enough time function, as follows:

You could potentially append the data on modern analysis put and use PROC SGPLOT which will make a good histogram with reference traces you to definitely screen new determined percentiles.

Within this analogy, We made use of the LINEATTRS=GRAPHDATA2 option to designate the idea top features of this new contours. I utilized the Density= suboption so you can bypass this new standard thickness.

Reference outlines for two-D plots of land

It’s also possible to put source outlines to 1 otherwise one another axes of a-two-dimensional area such a scatter patch, temperatures chart, or contour plot. The second graph shows a hot-air map of cholesterol levels and you can systolic hypertension beliefs for more than 5,100000 people. The brand new source traces show clinical opinions for regular, somewhat high, and you can higher quantities of one another variables:

Site lines to own a discrete axis

You can even monitor reference lines to your a distinct axis, although it is not preferred. One to app that i is also think about are exhibiting an expected really worth having a discrete opportunities shipment. Several other software program is just attracting a column you to definitely separates you to place from groups of various other. Regarding pursuing the example, I use a reference range to indicate a financial year. Spot the pursuing the:

  • If the categorical changeable has actually a layout, you should specify the newest formatted worth.
  • Automagically, the latest source line will be in the midst of the category. You are able to the newest DISCRETEOFFSET= choice and an admiration on the interval [-0.5, 0.5] to go the newest range remaining or proper out-of heart. Confident opinions circulate the fresh new line to the right; bad beliefs circulate the fresh range to the left. Regarding analogy, DISCRETEOFFSET=0.5 moves this new range between your site group and its own next-door neighbor to the right.
  • The fresh new REFLINE declaration helps a beneficial SPLITCHAR= choice which you can use to split a lengthy label across the numerous outlines.

Bringing appreciation with regard outlines

As you may control the new occurrence of your own source contours, they are utilized for many motives. Sanjay Matange suggests a couple of innovative uses for resource outlines to possess good distinct axis:

  • Use source lines to help you focus on a group of focus.
  • Whilst you can use brand new COLORBANDS= choice with the YAXIS report to include changing rings of colors so you’re able to a graph, the latest REFLINE declaration allows you to put traces that are not strictly changing otherwise you to definitely are different in width.


This informative article suggests numerous strategies for the new REFLINE report inside PROC SGPLOT to add advice into the graphs. You could potentially monitor a line to suggest a resource value or an example figure. You can display screen names to have resource lines. You can fool around with reference contours having a good categorical adjustable towards a distinct axis. Reference outlines are a great way to enhance your graphs.

Dejar un comentario