Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2013

[Date Index] [Thread Index] [Author Index]

Search the Archive

ReliefPlot of .ply file errors

  • To: mathgroup at smc.vnet.net
  • Subject: [mg131535] ReliefPlot of .ply file errors
  • From: Howard Fink <howardfink at gmail.com>
  • Date: Wed, 21 Aug 2013 01:58:56 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-outx@smc.vnet.net
  • Delivered-to: mathgroup-newsendx@smc.vnet.net

I can import a .ply file and it gets imported and displays in 3D:  you can grab it and move it around to take a look at all sides.

When I try to ReliefPlot the imported object (object = Import["pathname/filename.ply"]  the original is 46meg) I get the error message:  Argument at position 1 is not a 2 x 2 or larger numerial matrix of real values.

I tried copying ReliefPlot[
 Import["http://exampledata.wolfram.com/hailey.dem.gz";, "Data"],
 ColorFunction -> "GreenBrownTerrain"] from the Basic Examples of ReliefPlot, substituting my file, but "Data" is not an available element of .ply files.  When I tried DataFormat, which IS in the .ply Elements list, I got a list of {Real32, Real32, Real32} as Argument 1 in the error message. 

Howard Fink



  • Prev by Date: Re: parametric plot and filling
  • Next by Date: Re: parametric plot and filling
  • Previous by thread: Internship - Software developer Mathematica and C
  • Next by thread: Re: Rotate Dateticks in DateListPlot