I just managed to convince one of my clients that a simple dotplot was the right way to represent her data graphically. Then she saw that the postition of the dots were not exactly the expected positions, and
as we looked through the help files, we saw that there is some kind of binning made. This binning can be changed in the GPL syntax, but is there any way to make such changes using the Chart Builder menus? Previously I have used GPL syntax to set up range bars for variables, another graph which could be useful in this particular data set. However, my client does not want to use syntax, and I don't remember how
to set these range bars using menus. Any suggestions how I could find range bars in the menu system using Chart Builder? Robert
Robert Lundqvist
|
Chart Builder bins to graphically show tied values and there is control over binning within Chart Builder. You’ll have to use Paste and edit the syntax to remove the binning. The ELEMENT statement should look like this: ELEMENT: point(position(varname)) Since your client is syntax averse, maybe you could create a program using python or basic and supply a very simple dialog box for her to use which would just take a variable selection. --------------------------------------------------------------------------------------------------------------------------------------------------------- Please describe your range bars. What distinguishes the top from the bottom. Are you aggregating and if so, using what summary measure. From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Robert Lundqvist I just managed to convince one of my clients that a simple dotplot was the right way to represent her data graphically. Then she saw that the postition of the dots were not exactly the expected positions, and as we looked through the help files, we saw that there is some kind of binning made. This binning can be changed in the GPL syntax, but is there any way to make such changes using the Chart Builder menus? Previously I have used GPL syntax to set up range bars for variables, another graph which could be useful in this particular data set. However, my client does not want to use syntax, and I don't remember how to set these range bars using menus. Any suggestions how I could find range bars in the menu system using Chart Builder? Robert |
In reply to this post by Robert L
ViAnn, many thanks for the reply, the "ELEMENT" suggestion works just fine. I managed to solve the problem by adding binWidth(1) to the structure set up by using menus: ELEMENT: point.dodge.asymmetric(position(bin.dot(fordelning,binWidth(1)))) but this means that bins are set up, but narrow ones. Your suggestion is of course better. As for the range range bar, it is a simple bar with min and max as in figure 3-56 in the GPL Ref Guide. I have got the syntax, but wonder if it is possible to achieve these using menus. Somewhere, I think I've
managed to do so, but now I can't remember how it was done. Robert Från: ViAnn Beadle [mailto:[hidden email]]
Chart Builder bins to graphically show tied values and there is control over binning within Chart Builder. You’ll have to use Paste and edit the syntax to remove the binning. The ELEMENT statement
should look like this: ELEMENT: point(position(varname)) Since your client is syntax averse, maybe you could create a program using python or basic and supply a very simple dialog box for her to use which would just take a variable selection. --------------------------------------------------------------------------------------------------------------------------------------------------------- Please describe your range bars. What distinguishes the top from the bottom. Are you aggregating and if so, using what summary measure.
Robert Lundqvist
|
Free forum by Nabble | Edit this page |