|
Hi all,
I was hoping for a little help on this! I try to create a scatter plot using GPL with 2 reference lines (one in X and one in Y axis) added using GPL syntax. Is there a way to do this? Thank you very much in advance Antonis Chorianopoulos ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD |
|
Within GPL itself, there is no way to add a reference line. You can add
reference lines via a template and I seem to recall somebody posted a method of building a calculated reference line entry in a .sgt file sometime ago. You'll be able to find it by searching through archive of postings at http://www.listserv.uga.edu/cgi-bin/wa?S1=spssx-l It's very easy to create a template file with a static reference line in the chart editor if that is what you want: 1. Edit your scatterplot within the chart editor by adding reference lines. 2. Go to the File menu to create a template select the checkbox for reference lines and then save the template somewhere. 3. You can then point this template in the GGRAPH syntax. -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of ??t???? ????a??p????? Sent: Sunday, November 11, 2007 11:27 PM To: [hidden email] Subject: Reference lines in scatterplot Hi all, I was hoping for a little help on this! I try to create a scatter plot using GPL with 2 reference lines (one in X and one in Y axis) added using GPL syntax. Is there a way to do this? Thank you very much in advance Antonis Chorianopoulos ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD |
|
Hi Antonis
The posting ViAnn Beadle mentioned was: http://www.listserv.uga.edu/cgi-bin/wa?A2=ind0708&L=spssx-l&P=R19036 Hope this hleps Christian -----Ursprungliche Nachricht----- Von: SPSSX(r) Discussion [mailto:[hidden email]]Im Auftrag von ViAnn Beadle Gesendet: Montag, 12. November 2007 23:04 An: [hidden email] Betreff: Re: Reference lines in scatterplot Within GPL itself, there is no way to add a reference line. You can add reference lines via a template and I seem to recall somebody posted a method of building a calculated reference line entry in a .sgt file sometime ago. You'll be able to find it by searching through archive of postings at http://www.listserv.uga.edu/cgi-bin/wa?S1=spssx-l It's very easy to create a template file with a static reference line in the chart editor if that is what you want: 1. Edit your scatterplot within the chart editor by adding reference lines. 2. Go to the File menu to create a template select the checkbox for reference lines and then save the template somewhere. 3. You can then point this template in the GGRAPH syntax. -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of ??t???? ????a??p????? Sent: Sunday, November 11, 2007 11:27 PM To: [hidden email] Subject: Reference lines in scatterplot Hi all, I was hoping for a little help on this! I try to create a scatter plot using GPL with 2 reference lines (one in X and one in Y axis) added using GPL syntax. Is there a way to do this? Thank you very much in advance Antonis Chorianopoulos ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD |
|
I just found out that reference lines are implemented in 16 via the GUIDE:
form.line type. -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of la volta statistics Sent: Tuesday, November 13, 2007 2:27 AM To: [hidden email] Subject: AW: Reference lines in scatterplot Hi Antonis The posting ViAnn Beadle mentioned was: http://www.listserv.uga.edu/cgi-bin/wa?A2=ind0708&L=spssx-l&P=R19036 Hope this hleps Christian -----Ursprungliche Nachricht----- Von: SPSSX(r) Discussion [mailto:[hidden email]]Im Auftrag von ViAnn Beadle Gesendet: Montag, 12. November 2007 23:04 An: [hidden email] Betreff: Re: Reference lines in scatterplot Within GPL itself, there is no way to add a reference line. You can add reference lines via a template and I seem to recall somebody posted a method of building a calculated reference line entry in a .sgt file sometime ago. You'll be able to find it by searching through archive of postings at http://www.listserv.uga.edu/cgi-bin/wa?S1=spssx-l It's very easy to create a template file with a static reference line in the chart editor if that is what you want: 1. Edit your scatterplot within the chart editor by adding reference lines. 2. Go to the File menu to create a template select the checkbox for reference lines and then save the template somewhere. 3. You can then point this template in the GGRAPH syntax. -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of ??t???? ????a??p????? Sent: Sunday, November 11, 2007 11:27 PM To: [hidden email] Subject: Reference lines in scatterplot Hi all, I was hoping for a little help on this! I try to create a scatter plot using GPL with 2 reference lines (one in X and one in Y axis) added using GPL syntax. Is there a way to do this? Thank you very much in advance Antonis Chorianopoulos ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD |
|
Hi All,
Here is some syntax pulled from an example I did in 16.0: The first one show a reference line at a constant value of 20. The * is important and was hard to figure out. This is 16,0 only. GUIDE: form.line(position(*,20), color(color.green) ) This second example is a line at the mean. Again smooth.mean is an important detail that missed at first. I think? that this works in 15.0 too. ELEMENT: line(position(smooth.mean(weight*mpg)), color(color.blue) ) I didn't delete the colors, but it was just a test. I hope that helps someone. Best, Keith www.keithmccormick.com On 11/13/07, ViAnn Beadle <[hidden email]> wrote: > I just found out that reference lines are implemented in 16 via the GUIDE: > form.line type. > > -----Original Message----- > From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of la > volta statistics > Sent: Tuesday, November 13, 2007 2:27 AM > To: [hidden email] > Subject: AW: Reference lines in scatterplot > > Hi Antonis > > The posting ViAnn Beadle mentioned was: > > http://www.listserv.uga.edu/cgi-bin/wa?A2=ind0708&L=spssx-l&P=R19036 > > Hope this hleps > Christian > > -----Ursprungliche Nachricht----- > Von: SPSSX(r) Discussion [mailto:[hidden email]]Im Auftrag von > ViAnn Beadle > Gesendet: Montag, 12. November 2007 23:04 > An: [hidden email] > Betreff: Re: Reference lines in scatterplot > > > Within GPL itself, there is no way to add a reference line. You can add > reference lines via a template and I seem to recall somebody posted a method > of building a calculated reference line entry in a .sgt file sometime ago. > You'll be able to find it by searching through archive of postings at > > http://www.listserv.uga.edu/cgi-bin/wa?S1=spssx-l > > It's very easy to create a template file with a static reference line in the > chart editor if that is what you want: > > 1. Edit your scatterplot within the chart editor by adding reference lines. > 2. Go to the File menu to create a template select the checkbox for > reference lines and then save the template somewhere. > 3. You can then point this template in the GGRAPH syntax. > > -----Original Message----- > From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of > ??t???? ????a??p????? > Sent: Sunday, November 11, 2007 11:27 PM > To: [hidden email] > Subject: Reference lines in scatterplot > > Hi all, > > > > I was hoping for a little help on this! > > I try to create a scatter plot using GPL with 2 reference lines (one in X > and one in Y axis) added using GPL syntax. Is there a way to do this? > > > > Thank you very much in advance > > > > > > Antonis Chorianopoulos > > ===================== > To manage your subscription to SPSSX-L, send a message to > [hidden email] (not to SPSSX-L), with no body text except the > command. To leave the list, send the command > SIGNOFF SPSSX-L > For a list of commands to manage subscriptions, send the command > INFO REFCARD > > ===================== > To manage your subscription to SPSSX-L, send a message to > [hidden email] (not to SPSSX-L), with no body text except the > command. To leave the list, send the command > SIGNOFF SPSSX-L > For a list of commands to manage subscriptions, send the command > INFO REFCARD > > ===================== > To manage your subscription to SPSSX-L, send a message to > [hidden email] (not to SPSSX-L), with no body text except the > command. To leave the list, send the command > SIGNOFF SPSSX-L > For a list of commands to manage subscriptions, send the command > INFO REFCARD > > ===================== > To manage your subscription to SPSSX-L, send a message to > [hidden email] (not to SPSSX-L), with no body text except the > command. To leave the list, send the command > SIGNOFF SPSSX-L > For a list of commands to manage subscriptions, send the command > INFO REFCARD > ===================== To manage your subscription to SPSSX-L, send a message to [hidden email] (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD |
| Free forum by Nabble | Edit this page |
