SPSS Statistics

SPSS Statistics

Your hub for statistical analysis, data management, and data documentation. Connect, learn, and share with your peers! 


#Analytics
#SPSSStatistics
#Analyticstools
 View Only
  • 1.  3-D graph error

    Posted 12/23/24 09:09 AM

    Hi, When I try to create a 3-D graph I get the message "An internal error occured". When I used SPSS on this computer I had no problems. Then I changed to ver.29 and that is when the problem started. Now I have changed to ver.30 on the hope that the problem should be solved, but no it is still there. I have tried with very simple data sets only 30 rows of data for the 3 variables.

    Anyone knows how to solve this problem

    All the Best

    Anders



    ------------------------------
    Anders Lindahl
    ------------------------------


  • 2.  RE: 3-D graph error

    Posted 12/26/24 09:13 AM

    Hi. @Anders Lindahl, sorry to hear you're experiencing problems generating 3D graphs. Are you able to paste some failing syntax here when using one of the sample datasets that come with the program?

    For example, using the "Employee Data" sample file, are you able to successfully run this syntax?

    * Chart Builder.
    GGRAPH
      /GRAPHDATASET NAME="graphdataset" VARIABLES=jobcat COUNT()[name="COUNT"] minority gender 
        MISSING=LISTWISE REPORTMISSING=NO
      /GRAPHSPEC SOURCE=INLINE.
    BEGIN GPL
      SOURCE: s=userSource(id("graphdataset"))
      DATA: jobcat=col(source(s), name("jobcat"), unit.category())
      DATA: COUNT=col(source(s), name("COUNT"))
      DATA: minority=col(source(s), name("minority"), unit.category())
      DATA: gender=col(source(s), name("gender"), unit.category())
      COORD: rect(dim(1,2,3), cluster(0,4,0))
      GUIDE: axis(dim(1), label("Minority Classification"))
      GUIDE: axis(dim(4), label("Employment Category"))
      GUIDE: axis(dim(3), label("Count"))
      GUIDE: legend(aesthetic(aesthetic.color.interior), label("Gender"))
      GUIDE: text.title(label("Clustered 3-D Bar Count of Employment Category by Minority ",
        "Classification by Gender"))
      SCALE: cat(dim(4), include("1", "2", "3"))
      SCALE: linear(dim(3), include(0))
      SCALE: cat(dim(1), include("0", "1"))
      SCALE: cat(aesthetic(aesthetic.color.interior), include(
    "f", "m"))
      SCALE: cat(dim(2), include(
    "f", "m"))
      ELEMENT: interval(position(minority*gender*COUNT*jobcat), color.interior(gender), 
        shape.interior(shape.square))
    END GPL.

    If the above syntax works for you too, please see if you can send some syntax that fails when generating a 3D chart using one of the provided sample datasets. Please note also if you are using the Windows or MacOS client.

    Best,



    ------------------------------
    Curtis Browning
    SPSS Statistics Architect
    ------------------------------