Hello,
I have made some graphs in SPSS where the Y-axis ranks from 1 to 7. I was asked by the editor to "break" the Y axis (i.e. add a / in between e.g. 1-3 so that I widen the plot area). Is that possible at all in SPSS? I found a command "break" but it is only for categorical variables. Thanks, Pol |
I am out of the office and my phone is not currently receiving emails. If this can't wait until the morning, please text me at 2254850405. |
In reply to this post by Pol
What is your syntax?
Do you mean that you want more ticks on the Y axis? Do you simply want a longer Y axis with the same ticks? Did you open the output and try the chart editor? Art Kendall Social Research ConsultantsOn 5/24/2013 5:34 AM, centaur [via SPSSX Discussion] wrote: Hello,
Art Kendall
Social Research Consultants |
In reply to this post by Pol
As stated it is awful advice by the editor! No you can't "break" SPSS charts, but there are some obvious ways, especially with categorical data, to achieve the same effect. Can you please elaborate on exactly what you want (graphic or hand-drawing of example chart, example data etc.)
|
Administrator
|
In reply to this post by Art Kendall
I believe the OP is asking for something like you see here:
http://www.physicsforums.com/showthread.php?t=392043
--
Bruce Weaver bweaver@lakeheadu.ca http://sites.google.com/a/lakeheadu.ca/bweaver/ "When all else fails, RTFM." PLEASE NOTE THE FOLLOWING: 1. My Hotmail account is not monitored regularly. To send me an e-mail, please use the address shown above. 2. The SPSSX Discussion forum on Nabble is no longer linked to the SPSSX-L listserv administered by UGA (https://listserv.uga.edu/). |
Thank you all for the replies,
I agree that the editor is not correct, but I cannot go against his recommendations. I try to be a bit more elaborate on what I want to do. I attach the syntax below as well of the original graph. My task is to plot an interaction effect between a continuous and a categorical variable. The problem is that the variable on the Y axis is measured in a 7 point scale (1 to 7). Given I am plotting means these range from 4,5 to 5,0 and it's hard to make the effects evident when using the full scale. Thus the editor asked me to break the Y axis in order to widen the scale, but at the same time making it evident that it ranges from 1 to 7. It's hard to explain, but hope it's clear of what I need to do. ---///--- GGRAPH /GRAPHDATASET NAME="graphdataset" VARIABLES=EM HEALTH_FPV FUN MISSING=LISTWISE REPORTMISSING=NO /GRAPHSPEC SOURCE=INLINE. BEGIN GPL SOURCE: s=userSource(id("graphdataset")) DATA: EM=col(source(s), name("EM")) DATA: HEALTH_FPV=col(source(s), name("HEALTH_FPV")) DATA: FUN=col(source(s), name("FUN"), unit.category()) GUIDE: axis(dim(1), label("Enduring Motivation")) GUIDE: axis(dim(2), label("Perceived Healthfulness)")) GUIDE: legend(aesthetic(aesthetic.color.interior), label("Functional Claim")) SCALE: cat(aesthetic(aesthetic.color.interior), include("0", "1")) ELEMENT: line(position(smooth.spline(EM*HEALTH_FPV)), color.interior(FUN), missing.wings()) END GPL. |
Might your editor be happy with
GUIDE: axis(dim(2), label("Mean Perceived Healthfulness on 1 to 7 scale)")) ? Art Kendall Social Research ConsultantsOn 5/24/2013 8:22 AM, centaur [via SPSSX Discussion] wrote: Thank you all for the replies,
Art Kendall
Social Research Consultants |
In reply to this post by Pol
I agree with Art, it is better just to annotate the chart. So, you can not do broken axis in SPSS charts, the simplest way would be the make the chart, export to whatever image format, and post-hoc edit in the break lines. Again, I would encourage you to say no to the editor. Here is an alternative to make a paneled graphic with one panel zoomed in and the other zoomed out. Also you could just paste the two seperate graphs together pretty easily in an image editing program.
Another solution would be to use multiple graphs within a GPL block and set explicit min and max's for the |
I am off enjoying some vacation time.
I will return on June 17th and will respond to messages once I am back in the Lab.
~M Mikki Haegle Psychology Lab Coordinator 700 E 7th Street, NM-L202 St Paul, MN 55106 651.793.1354 |
Thank you all for the help and replies!
The best solution proved to be the use of Photoshop. The editor seemed to be happy and the indication of the original scale seemed to work fine and not be misleading to the reader. Thanks again! |
Free forum by Nabble | Edit this page |