SPSS Statistics

SPSS Statistics

Your hub for statistical analysis, data management, and data documentation. Connect, learn, and share with your peers! 


#Analytics
#SPSSStatistics
#Analyticstools
 View Only
  • 1.  Simple Error Bar Color Coding Problems

    Posted 03/24/21 02:40 PM

    If I created 95% Confidence Intervals and want to color the Intervals from different groups differently. In "Fill&Borders" it does not allow me to chose colors for the individual intervals. I can change the color of the first one but as soon as I want to give the next interval a seperate color it does not work and it randomly colors other, non selected, intervals as well. Never had this issue before.






    #SPSSStatistics
    #Support
    #SupportMigration


  • 2.  RE: Simple Error Bar Color Coding Problems

    Posted 03/24/21 04:17 PM

    Error bars normally have the point and the ibeam, and these are separate objects, so you have to be careful that you have selected the right element. And I expect that you know about drilling down to a specific point or ibeam.

    There are restrictions on what you can do to an element attribute that is used structurally in a chart. You can't make changes to an individual bar attribute, say, that is defining a group as it would change the meaning of the chart.

    However, you might be able to get what you want by specifying the attribute in the GPL, which would avoid having to edit the chart ex post.

    If you paste the syntax, you can add coloring in the ELEMENT statement. For example,

    ELEMENT: point(position(jobcat*MEAN_salary), color(jobcat))

    ELEMENT: interval(position(region.spread.range(jobcat*(LOW+HIGH))), shape.interior(shape.ibeam), color(jobcat)

    This will use your defined color cycle for the elements.






    #SPSSStatistics
    #Support
    #SupportMigration