getting chart edits to stick in version 15

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

getting chart edits to stick in version 15

Art Kendall
I am trying to edit the chart produced by the syntax below.

when  I <right click> <SPSS Chart object> <open>
<right click> on a point <right click> <select> <this group of marker>
and change something e.g., the size to 9 or 10, then
click <apply> <close>  and go back to the same point <right click> it
and <select> <this group of marker> again the settings have reverted to
what they were when I first started.

I am under a hard deadline so any help would be appreciated.

I would like group 1 to have a size 9 circle with a 2 border and a gray
{153,153.153} border.
I would like group 2 to have a size 9 circle with a 1.5 border and a
black {0,0,0} border.

In version 14, I was able to make these kinds of edits to charts, but
not make them stick in a template.

If you wish me to phone you to discuss this, I would be glad to do it.
Just email me your number.


Art Kendall
Social Research Consultants





new file.
input program.
loop #i = 1 to 50.
compute mygroup =1.
compute reading=rnd(rv.uniform(0,100)).
compute sld =rnd(rv.uniform(0,100)).
end case.
end loop.
loop #i = 1 to 50.
compute mygroup =2.
compute reading=rnd(rv.uniform(0,100)).
compute sld =rnd(rv.uniform(0,100)).
end case.
end loop.
end file.
end input program.
var level reading sld (scale) mygroup subset (nominal).
execute.
value labels mygroup 1'reading First' 2 'Title I'.
formats reading sld (f3) mygroup (f1)

* Chart Builder.
GGRAPH
  /GRAPHDATASET NAME="graphdataset" VARIABLES=reading sld mygroup
  MISSING=LISTWISE REPORTMISSING=NO
  /GRAPHSPEC SOURCE=INLINE.
BEGIN GPL
 SOURCE: s=userSource(id("graphdataset"))
 DATA: reading=col(source(s), name("reading"))
 DATA: sld=col(source(s), name("sld"))
 DATA: mygroup=col(source(s), name("mygroup"), unit.category())
 GUIDE: axis(dim(1), label("reading Proficiency Rate"))
 GUIDE: axis(dim(2), label("LD Participation Rate"))
 SCALE: linear(dim(1), min(-2), max(100))
 SCALE: linear(dim(2), min(-2))
 GUIDE: legend(aesthetic(aesthetic.color.exterior), label("mygroup"))
 SCALE: cat(aesthetic(aesthetic.color.exterior), include("1", "2"))
 ELEMENT: point(position(reading*sld), shape.interior(mygroup))
 ELEMENT: line(position(smooth.linear(reading*sld)))
END GPL.
Art Kendall
Social Research Consultants
Reply | Threaded
Open this post in threaded view
|

Re: getting chart edits to stick in version 15

Mike P-5
Hi Art,

I am not running version 15 and can't get the syntax to run correctly.

However from experience, I've found a two stage method works best with
template files.  First save the file with just the things that you want,
Make the changes to the border size to say 4,5  and then save it again
with all options.

Open the template file with all options and search for the value 4.5...

Odds are it will look something like

        <setShowLineMarkers>
                <style
value="visibility:visible;color:transparent;color2:#000000">
                        <glyph size="4.5pt" type="circle"/>
                </style>
        </setShowLineMarkers>

But not this exactley. (sorry I don't have the time to run through this)

Then copy and paste this line into a similar area in the template you
want to use, I know it's a bit of a hack but it seems to work o.k for
me.

HtH in some way

Mike


-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of
Art Kendall
Sent: 09 November 2006 18:07
To: [hidden email]
Subject: getting chart edits to stick in version 15

I am trying to edit the chart produced by the syntax below.

when  I <right click> <SPSS Chart object> <open> <right click> on a
point <right click> <select> <this group of marker> and change something
e.g., the size to 9 or 10, then click <apply> <close>  and go back to
the same point <right click> it and <select> <this group of marker>
again the settings have reverted to what they were when I first started.

I am under a hard deadline so any help would be appreciated.

I would like group 1 to have a size 9 circle with a 2 border and a gray
{153,153.153} border.
I would like group 2 to have a size 9 circle with a 1.5 border and a
black {0,0,0} border.

In version 14, I was able to make these kinds of edits to charts, but
not make them stick in a template.

If you wish me to phone you to discuss this, I would be glad to do it.
Just email me your number.


Art Kendall
Social Research Consultants





new file.
input program.
loop #i = 1 to 50.
compute mygroup =1.
compute reading=rnd(rv.uniform(0,100)).
compute sld =rnd(rv.uniform(0,100)).
end case.
end loop.
loop #i = 1 to 50.
compute mygroup =2.
compute reading=rnd(rv.uniform(0,100)).
compute sld =rnd(rv.uniform(0,100)).
end case.
end loop.
end file.
end input program.
var level reading sld (scale) mygroup subset (nominal).
execute.
value labels mygroup 1'reading First' 2 'Title I'.
formats reading sld (f3) mygroup (f1)

* Chart Builder.
GGRAPH
  /GRAPHDATASET NAME="graphdataset" VARIABLES=reading sld mygroup
  MISSING=LISTWISE REPORTMISSING=NO
  /GRAPHSPEC SOURCE=INLINE.
BEGIN GPL
 SOURCE: s=userSource(id("graphdataset"))
 DATA: reading=col(source(s), name("reading"))
 DATA: sld=col(source(s), name("sld"))
 DATA: mygroup=col(source(s), name("mygroup"), unit.category())
 GUIDE: axis(dim(1), label("reading Proficiency Rate"))
 GUIDE: axis(dim(2), label("LD Participation Rate"))
 SCALE: linear(dim(1), min(-2), max(100))
 SCALE: linear(dim(2), min(-2))
 GUIDE: legend(aesthetic(aesthetic.color.exterior), label("mygroup"))
 SCALE: cat(aesthetic(aesthetic.color.exterior), include("1", "2"))
 ELEMENT: point(position(reading*sld), shape.interior(mygroup))
 ELEMENT: line(position(smooth.linear(reading*sld)))
END GPL.

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. For more information on a proactive anti-virus
service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
Reply | Threaded
Open this post in threaded view
|

Re: getting chart edits to stick in version 15

Art Kendall
Thank you for your response.

I should have been clearer.

Although I wanted to get to a template later, my problem was in getting
the changes to "stick" in the interactive chart editor.

I would make a change, go back to the image from the properties window,
click on it to deselect the set of markers, and the markers would go
back to what they were.  If I re-open the properties window the
properties were back to their old settings.

Art

Michael Pearmain wrote:

>Hi Art,
>
>I am not running version 15 and can't get the syntax to run correctly.
>
>However from experience, I've found a two stage method works best with
>template files.  First save the file with just the things that you want,
>Make the changes to the border size to say 4,5  and then save it again
>with all options.
>
>Open the template file with all options and search for the value 4.5...
>
>Odds are it will look something like
>
>        <setShowLineMarkers>
>                <style
>value="visibility:visible;color:transparent;color2:#000000">
>                        <glyph size="4.5pt" type="circle"/>
>                </style>
>        </setShowLineMarkers>
>
>But not this exactley. (sorry I don't have the time to run through this)
>
>Then copy and paste this line into a similar area in the template you
>want to use, I know it's a bit of a hack but it seems to work o.k for
>me.
>
>HtH in some way
>
>Mike
>
>
>-----Original Message-----
>From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of
>Art Kendall
>Sent: 09 November 2006 18:07
>To: [hidden email]
>Subject: getting chart edits to stick in version 15
>
>I am trying to edit the chart produced by the syntax below.
>
>when  I <right click> <SPSS Chart object> <open> <right click> on a
>point <right click> <select> <this group of marker> and change something
>e.g., the size to 9 or 10, then click <apply> <close>  and go back to
>the same point <right click> it and <select> <this group of marker>
>again the settings have reverted to what they were when I first started.
>
>I am under a hard deadline so any help would be appreciated.
>
>I would like group 1 to have a size 9 circle with a 2 border and a gray
>{153,153.153} border.
>I would like group 2 to have a size 9 circle with a 1.5 border and a
>black {0,0,0} border.
>
>In version 14, I was able to make these kinds of edits to charts, but
>not make them stick in a template.
>
>If you wish me to phone you to discuss this, I would be glad to do it.
>Just email me your number.
>
>
>Art Kendall
>Social Research Consultants
>
>
>
>
>
>new file.
>input program.
>loop #i = 1 to 50.
>compute mygroup =1.
>compute reading=rnd(rv.uniform(0,100)).
>compute sld =rnd(rv.uniform(0,100)).
>end case.
>end loop.
>loop #i = 1 to 50.
>compute mygroup =2.
>compute reading=rnd(rv.uniform(0,100)).
>compute sld =rnd(rv.uniform(0,100)).
>end case.
>end loop.
>end file.
>end input program.
>var level reading sld (scale) mygroup subset (nominal).
>execute.
>value labels mygroup 1'reading First' 2 'Title I'.
>formats reading sld (f3) mygroup (f1)
>
>* Chart Builder.
>GGRAPH
>  /GRAPHDATASET NAME="graphdataset" VARIABLES=reading sld mygroup
>  MISSING=LISTWISE REPORTMISSING=NO
>  /GRAPHSPEC SOURCE=INLINE.
>BEGIN GPL
> SOURCE: s=userSource(id("graphdataset"))
> DATA: reading=col(source(s), name("reading"))
> DATA: sld=col(source(s), name("sld"))
> DATA: mygroup=col(source(s), name("mygroup"), unit.category())
> GUIDE: axis(dim(1), label("reading Proficiency Rate"))
> GUIDE: axis(dim(2), label("LD Participation Rate"))
> SCALE: linear(dim(1), min(-2), max(100))
> SCALE: linear(dim(2), min(-2))
> GUIDE: legend(aesthetic(aesthetic.color.exterior), label("mygroup"))
> SCALE: cat(aesthetic(aesthetic.color.exterior), include("1", "2"))
> ELEMENT: point(position(reading*sld), shape.interior(mygroup))
> ELEMENT: line(position(smooth.linear(reading*sld)))
>END GPL.
>
>________________________________________________________________________
>This e-mail has been scanned for all viruses by Star. The service is
>powered by MessageLabs. For more information on a proactive anti-virus
>service working around the clock, around the globe, visit:
>http://www.star.net.uk
>________________________________________________________________________
>
>______________________________________________________________________
>This email has been scanned by the MessageLabs Email Security System.
>For more information please visit http://www.messagelabs.com/email
>______________________________________________________________________
>
>
>
>
Art Kendall
Social Research Consultants
Reply | Threaded
Open this post in threaded view
|

Re: getting chart edits to stick in version 15

Mark A Davenport MADAVENP
Art,

I seem to recall having an email exchange with Kyle or Jon at SPSS about
this issue during beta testing (either 14 or 15).  I would make changes to
a chart and save a template but  I could never get several features such
as chart sizes, markers, etc. to 'stick'.  I recall that he noted that
such was not possible but don't recall if there was a work-around, or a
fix coming in the official release.   Obviously there isn't a fix so
perhaps there is a work-around.

Kyle or Jon, can you comment on a possible work-around?

Mark

***************************************************************************************************************************************************************
Mark A. Davenport Ph.D.
Senior Research Analyst
Office of Institutional Research
The University of North Carolina at Greensboro
336.256.0395
[hidden email]

'An approximate answer to the right question is worth a good deal more
than an exact answer to an approximate question.' --a paraphrase of J. W.
Tukey (1962)






Art Kendall <[hidden email]>
Sent by: "SPSSX(r) Discussion" <[hidden email]>
11/10/2006 08:28 AM
Please respond to
[hidden email]


To
[hidden email]
cc

Subject
Re: getting chart edits to stick in version 15






Thank you for your response.

I should have been clearer.

Although I wanted to get to a template later, my problem was in getting
the changes to "stick" in the interactive chart editor.

I would make a change, go back to the image from the properties window,
click on it to deselect the set of markers, and the markers would go
back to what they were.  If I re-open the properties window the
properties were back to their old settings.

Art

Michael Pearmain wrote:

>Hi Art,
>
>I am not running version 15 and can't get the syntax to run correctly.
>
>However from experience, I've found a two stage method works best with
>template files.  First save the file with just the things that you want,
>Make the changes to the border size to say 4,5  and then save it again
>with all options.
>
>Open the template file with all options and search for the value 4.5...
>
>Odds are it will look something like
>
>        <setShowLineMarkers>
>                <style
>value="visibility:visible;color:transparent;color2:#000000">
>                        <glyph size="4.5pt" type="circle"/>
>                </style>
>        </setShowLineMarkers>
>
>But not this exactley. (sorry I don't have the time to run through this)
>
>Then copy and paste this line into a similar area in the template you
>want to use, I know it's a bit of a hack but it seems to work o.k for
>me.
>
>HtH in some way
>
>Mike
>
>
>-----Original Message-----
>From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of
>Art Kendall
>Sent: 09 November 2006 18:07
>To: [hidden email]
>Subject: getting chart edits to stick in version 15
>
>I am trying to edit the chart produced by the syntax below.
>
>when  I <right click> <SPSS Chart object> <open> <right click> on a
>point <right click> <select> <this group of marker> and change something
>e.g., the size to 9 or 10, then click <apply> <close>  and go back to
>the same point <right click> it and <select> <this group of marker>
>again the settings have reverted to what they were when I first started.
>
>I am under a hard deadline so any help would be appreciated.
>
>I would like group 1 to have a size 9 circle with a 2 border and a gray
>{153,153.153} border.
>I would like group 2 to have a size 9 circle with a 1.5 border and a
>black {0,0,0} border.
>
>In version 14, I was able to make these kinds of edits to charts, but
>not make them stick in a template.
>
>If you wish me to phone you to discuss this, I would be glad to do it.
>Just email me your number.
>
>
>Art Kendall
>Social Research Consultants
>
>
>
>
>
>new file.
>input program.
>loop #i = 1 to 50.
>compute mygroup =1.
>compute reading=rnd(rv.uniform(0,100)).
>compute sld =rnd(rv.uniform(0,100)).
>end case.
>end loop.
>loop #i = 1 to 50.
>compute mygroup =2.
>compute reading=rnd(rv.uniform(0,100)).
>compute sld =rnd(rv.uniform(0,100)).
>end case.
>end loop.
>end file.
>end input program.
>var level reading sld (scale) mygroup subset (nominal).
>execute.
>value labels mygroup 1'reading First' 2 'Title I'.
>formats reading sld (f3) mygroup (f1)
>
>* Chart Builder.
>GGRAPH
>  /GRAPHDATASET NAME="graphdataset" VARIABLES=reading sld mygroup
>  MISSING=LISTWISE REPORTMISSING=NO
>  /GRAPHSPEC SOURCE=INLINE.
>BEGIN GPL
> SOURCE: s=userSource(id("graphdataset"))
> DATA: reading=col(source(s), name("reading"))
> DATA: sld=col(source(s), name("sld"))
> DATA: mygroup=col(source(s), name("mygroup"), unit.category())
> GUIDE: axis(dim(1), label("reading Proficiency Rate"))
> GUIDE: axis(dim(2), label("LD Participation Rate"))
> SCALE: linear(dim(1), min(-2), max(100))
> SCALE: linear(dim(2), min(-2))
> GUIDE: legend(aesthetic(aesthetic.color.exterior), label("mygroup"))
> SCALE: cat(aesthetic(aesthetic.color.exterior), include("1", "2"))
> ELEMENT: point(position(reading*sld), shape.interior(mygroup))
> ELEMENT: line(position(smooth.linear(reading*sld)))
>END GPL.
>
>________________________________________________________________________
>This e-mail has been scanned for all viruses by Star. The service is
>powered by MessageLabs. For more information on a proactive anti-virus
>service working around the clock, around the globe, visit:
>http://www.star.net.uk
>________________________________________________________________________
>
>______________________________________________________________________
>This email has been scanned by the MessageLabs Email Security System.
>For more information please visit http://www.messagelabs.com/email
>______________________________________________________________________
>
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: getting chart edits to stick in version 15

Art Kendall
The work around was to use GRAPH rather than GGRAPH.  SPSS sent a
template for the markers.
In the end I settled for fit line that was longer than I would have liked.

Thanks to all the people who helped.   I made the deadline.  The
government people who I sent the graphs to are happy.

Art


Mark A Davenport MADAVENP wrote:

>Art,
>
>I seem to recall having an email exchange with Kyle or Jon at SPSS about
>this issue during beta testing (either 14 or 15).  I would make changes to
>a chart and save a template but  I could never get several features such
>as chart sizes, markers, etc. to 'stick'.  I recall that he noted that
>such was not possible but don't recall if there was a work-around, or a
>fix coming in the official release.   Obviously there isn't a fix so
>perhaps there is a work-around.
>
>Kyle or Jon, can you comment on a possible work-around?
>
>Mark
>
>***************************************************************************************************************************************************************
>Mark A. Davenport Ph.D.
>Senior Research Analyst
>Office of Institutional Research
>The University of North Carolina at Greensboro
>336.256.0395
>[hidden email]
>
>'An approximate answer to the right question is worth a good deal more
>than an exact answer to an approximate question.' --a paraphrase of J. W.
>Tukey (1962)
>
>
>
>
>
>
>Art Kendall <[hidden email]>
>Sent by: "SPSSX(r) Discussion" <[hidden email]>
>11/10/2006 08:28 AM
>Please respond to
>[hidden email]
>
>
>To
>[hidden email]
>cc
>
>Subject
>Re: getting chart edits to stick in version 15
>
>
>
>
>
>
>Thank you for your response.
>
>I should have been clearer.
>
>Although I wanted to get to a template later, my problem was in getting
>the changes to "stick" in the interactive chart editor.
>
>I would make a change, go back to the image from the properties window,
>click on it to deselect the set of markers, and the markers would go
>back to what they were.  If I re-open the properties window the
>properties were back to their old settings.
>
>Art
>
>Michael Pearmain wrote:
>
>
>
>>Hi Art,
>>
>>I am not running version 15 and can't get the syntax to run correctly.
>>
>>However from experience, I've found a two stage method works best with
>>template files.  First save the file with just the things that you want,
>>Make the changes to the border size to say 4,5  and then save it again
>>with all options.
>>
>>Open the template file with all options and search for the value 4.5...
>>
>>Odds are it will look something like
>>
>>       <setShowLineMarkers>
>>               <style
>>value="visibility:visible;color:transparent;color2:#000000">
>>                       <glyph size="4.5pt" type="circle"/>
>>               </style>
>>       </setShowLineMarkers>
>>
>>But not this exactley. (sorry I don't have the time to run through this)
>>
>>Then copy and paste this line into a similar area in the template you
>>want to use, I know it's a bit of a hack but it seems to work o.k for
>>me.
>>
>>HtH in some way
>>
>>Mike
>>
>>
>>-----Original Message-----
>>From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of
>>Art Kendall
>>Sent: 09 November 2006 18:07
>>To: [hidden email]
>>Subject: getting chart edits to stick in version 15
>>
>>I am trying to edit the chart produced by the syntax below.
>>
>>when  I <right click> <SPSS Chart object> <open> <right click> on a
>>point <right click> <select> <this group of marker> and change something
>>e.g., the size to 9 or 10, then click <apply> <close>  and go back to
>>the same point <right click> it and <select> <this group of marker>
>>again the settings have reverted to what they were when I first started.
>>
>>I am under a hard deadline so any help would be appreciated.
>>
>>I would like group 1 to have a size 9 circle with a 2 border and a gray
>>{153,153.153} border.
>>I would like group 2 to have a size 9 circle with a 1.5 border and a
>>black {0,0,0} border.
>>
>>In version 14, I was able to make these kinds of edits to charts, but
>>not make them stick in a template.
>>
>>If you wish me to phone you to discuss this, I would be glad to do it.
>>Just email me your number.
>>
>>
>>Art Kendall
>>Social Research Consultants
>>
>>
>>
>>
>>
>>new file.
>>input program.
>>loop #i = 1 to 50.
>>compute mygroup =1.
>>compute reading=rnd(rv.uniform(0,100)).
>>compute sld =rnd(rv.uniform(0,100)).
>>end case.
>>end loop.
>>loop #i = 1 to 50.
>>compute mygroup =2.
>>compute reading=rnd(rv.uniform(0,100)).
>>compute sld =rnd(rv.uniform(0,100)).
>>end case.
>>end loop.
>>end file.
>>end input program.
>>var level reading sld (scale) mygroup subset (nominal).
>>execute.
>>value labels mygroup 1'reading First' 2 'Title I'.
>>formats reading sld (f3) mygroup (f1)
>>
>>* Chart Builder.
>>GGRAPH
>> /GRAPHDATASET NAME="graphdataset" VARIABLES=reading sld mygroup
>> MISSING=LISTWISE REPORTMISSING=NO
>> /GRAPHSPEC SOURCE=INLINE.
>>BEGIN GPL
>>SOURCE: s=userSource(id("graphdataset"))
>>DATA: reading=col(source(s), name("reading"))
>>DATA: sld=col(source(s), name("sld"))
>>DATA: mygroup=col(source(s), name("mygroup"), unit.category())
>>GUIDE: axis(dim(1), label("reading Proficiency Rate"))
>>GUIDE: axis(dim(2), label("LD Participation Rate"))
>>SCALE: linear(dim(1), min(-2), max(100))
>>SCALE: linear(dim(2), min(-2))
>>GUIDE: legend(aesthetic(aesthetic.color.exterior), label("mygroup"))
>>SCALE: cat(aesthetic(aesthetic.color.exterior), include("1", "2"))
>>ELEMENT: point(position(reading*sld), shape.interior(mygroup))
>>ELEMENT: line(position(smooth.linear(reading*sld)))
>>END GPL.
>>
>>________________________________________________________________________
>>This e-mail has been scanned for all viruses by Star. The service is
>>powered by MessageLabs. For more information on a proactive anti-virus
>>service working around the clock, around the globe, visit:
>>http://www.star.net.uk
>>________________________________________________________________________
>>
>>______________________________________________________________________
>>This email has been scanned by the MessageLabs Email Security System.
>>For more information please visit http://www.messagelabs.com/email
>>______________________________________________________________________
>>
>>
>>
>>
>>
>>
>
>
>
>
Art Kendall
Social Research Consultants