If I recall correctly, I used to be able to edit a chart and save the
template. Then I would see what GPL was generated. now it generates HTML. I cannot find "line style" in the GPL manual. I found how to get color. * Chart Builder. GGRAPH /GRAPHDATASET NAME="graphdataset" VARIABLES=X Y MISSING=LISTWISE REPORTMISSING=NO /GRAPHSPEC SOURCE=INLINE. BEGIN GPL SOURCE: s=userSource(id("graphdataset")) DATA: X=col(source(s), name("X")) DATA: Y=col(source(s), name("Y")) GUIDE: axis(dim(1), label("X")) GUIDE: axis(dim(2), label("Y")) ELEMENT: point.jitter(position(X*Y)) ELEMENT: line(position(smooth.linear.uniform(X*Y)),color(color.green)) ELEMENT: line(position(smooth.mean.uniform(X*Y)),color(color.blue)) END GPL. How would I specify style? Weight? Both? By style I mean things like: dotted, broken, dot-dash, etc. Suggestions: It would be very useful if there were documentation for GPL the cross-walked what can be done in the chart editor for output. It would be very useful if Chart Builder allowed specification of the same things that can be done in the chart editor. Art Kendall Social Research Consultants ===================== 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
Art Kendall
Social Research Consultants |
Check out the shape() function. There are a number of constants for lines
and can be found under GPL Constants in the Contents tree. -----Original Message----- From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Art Kendall Sent: Tuesday, January 18, 2011 8:14 AM To: [hidden email] Subject: GPL to specify line style and color If I recall correctly, I used to be able to edit a chart and save the template. Then I would see what GPL was generated. now it generates HTML. I cannot find "line style" in the GPL manual. I found how to get color. * Chart Builder. GGRAPH /GRAPHDATASET NAME="graphdataset" VARIABLES=X Y MISSING=LISTWISE REPORTMISSING=NO /GRAPHSPEC SOURCE=INLINE. BEGIN GPL SOURCE: s=userSource(id("graphdataset")) DATA: X=col(source(s), name("X")) DATA: Y=col(source(s), name("Y")) GUIDE: axis(dim(1), label("X")) GUIDE: axis(dim(2), label("Y")) ELEMENT: point.jitter(position(X*Y)) ELEMENT: line(position(smooth.linear.uniform(X*Y)),color(color.green)) ELEMENT: line(position(smooth.mean.uniform(X*Y)),color(color.blue)) END GPL. How would I specify style? Weight? Both? By style I mean things like: dotted, broken, dot-dash, etc. Suggestions: It would be very useful if there were documentation for GPL the cross-walked what can be done in the chart editor for output. It would be very useful if Chart Builder allowed specification of the same things that can be done in the chart editor. Art Kendall Social Research Consultants ===================== 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 |