f



NEED URGENT HELP WITH SPSS

Hi
I did a graph some months ago, but I cannot redo it. I am just struggling.=
=20
I tried to put the same syntax, but it does not work. It says that An inlin=
e graph specification was expected but not found.=20
Anyone can help?
I am desperated

In my graph, I have 15 variables and I want them in thw x axis; in the y ax=
is, I want their means and I want them classified in 2 groups. I don't know=
 why now the 2 groups come to the x axis and have lines going from left to =
right.=20

Please,.. help


* Generador de gr=C3=A1ficos.
GGRAPH
  /GRAPHDATASET NAME=3D"graphdataset" VARIABLES=3DMEAN(Recipient_listing_eG=
FR) MEAN(Recipient_pretx_eGFR) MEAN(Post_eGFR_1) MEAN(Post_eGFR_2) MEAN(Pos=
t_eGFR_3) MEAN(Post_eGFR_4) MEAN(Post_eGFR_5) MEAN(Post_eGFR_6) MEAN(Post_e=
GFR_7) MEAN(Post_eGFR_8)
MEAN(Post_eGFR_9) MEAN(Post_eGFR_10) MEAN(Post_eGFR_11) MEAN(Post_eGFR_12) =
MEAN(Post_eGFR_13) MEAN(Post_eGFR_14) Low_CNI_14d MISSING=3DLISTWISE REPORT=
MISSING=3DNO
    TRANSFORM=3DVARSTOCASES(SUMMARY=3D"#SUMMARY" INDEX=3D"#INDEX")
  /GRAPHSPEC SOURCE=3DINLINE.
BEGIN GPL
  SOURCE: s=3DuserSource(id("graphdataset"))
  DATA: SUMMARY=3Dcol(source(s), name("#SUMMARY"))
  DATA: INDEX=3Dcol(source(s), name("#INDEX"), unit.category())
  DATA: Low_CNI_14d=3Dcol(source(s), name("Low_CNI_14d"), unit.category())
  GUIDE: axis(dim(2), label("Media"))
  GUIDE: legend(aesthetic(aesthetic.color.interior), label("Low_CNI_14d"))
  SCALE: cat(dim(1), include("0", "1", "2", "3", "4", "5", "6", "7", "8", "=
9", "10", "11"
, "12", "13", "14", "15"))
  SCALE: linear(dim(2), include(0))
  SCALE: cat(aesthetic(aesthetic.color.interior), include("0", "1"))
  ELEMENT: line(position(INDEX*SUMMARY), color.interior(Low_CNI_14d), missi=
ng.wings())
END GPL.
0
rubenciria
11/12/2016 10:06:46 AM
comp.soft-sys.stat.spss 5679 articles. 0 followers. Post Follow

1 Replies
392 Views

Similar Articles

[PageSpeed] 18

There is an SPSS list that is much more active than this group.
There are people there who know graphics and probably answer
your question.

For info about joining SPSSX-L (named in the old days), go to 
http://spssx-discussion.1045642.n5.nabble.com/ 

and click on the More Options link near the top of the page.

-- 
Rich Ulrich 

On Sat, 12 Nov 2016 02:06:46 -0800 (PST), rubenciria@gmail.com wrote:

>Hi
>I did a graph some months ago, but I cannot redo it. I am just struggling. 
>I tried to put the same syntax, but it does not work. It says that An inline graph specification was expected but not found. 
>Anyone can help?
>I am desperated
>
>In my graph, I have 15 variables and I want them in thw x axis; in the y axis, I want their means and I want them classified in 2 groups. I don't know why now the 2 groups come to the x axis and have lines going from left to right. 
>
>Please,.. help
>
>
>* Generador de gráficos.
>GGRAPH
>  /GRAPHDATASET NAME="graphdataset" VARIABLES=MEAN(Recipient_listing_eGFR) MEAN(Recipient_pretx_eGFR) MEAN(Post_eGFR_1) MEAN(Post_eGFR_2) MEAN(Post_eGFR_3) MEAN(Post_eGFR_4) MEAN(Post_eGFR_5) MEAN(Post_eGFR_6) MEAN(Post_eGFR_7) MEAN(Post_eGFR_8)
>MEAN(Post_eGFR_9) MEAN(Post_eGFR_10) MEAN(Post_eGFR_11) MEAN(Post_eGFR_12) MEAN(Post_eGFR_13) MEAN(Post_eGFR_14) Low_CNI_14d MISSING=LISTWISE REPORTMISSING=NO
>    TRANSFORM=VARSTOCASES(SUMMARY="#SUMMARY" INDEX="#INDEX")
>  /GRAPHSPEC SOURCE=INLINE.
>BEGIN GPL
>  SOURCE: s=userSource(id("graphdataset"))
>  DATA: SUMMARY=col(source(s), name("#SUMMARY"))
>  DATA: INDEX=col(source(s), name("#INDEX"), unit.category())
>  DATA: Low_CNI_14d=col(source(s), name("Low_CNI_14d"), unit.category())
>  GUIDE: axis(dim(2), label("Media"))
>  GUIDE: legend(aesthetic(aesthetic.color.interior), label("Low_CNI_14d"))
>  SCALE: cat(dim(1), include("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11"
>, "12", "13", "14", "15"))
>  SCALE: linear(dim(2), include(0))
>  SCALE: cat(aesthetic(aesthetic.color.interior), include("0", "1"))
>  ELEMENT: line(position(INDEX*SUMMARY), color.interior(Low_CNI_14d), missing.wings())
>END GPL.
0
Rich
11/12/2016 9:54:11 PM
Reply: