Plot expects the "x" values as the "positions" component and the "y" values as the "data" component. So first you need to get it structured that way. ImportSpreadsheet will import it as two components, called by default "column0" and "column1" (I think). You should be able to just use Rename to rename them to the right component names. Use the Print module to see how they are imported. Alternatively you could add the component names as the first line of the imported data file; ImprortSpreadsheet will use those names as the component names. Another possible gotcha is that if your data is as below the positions will be imported as integers, while DX needs floats, so you'll need a cast first. I've attached a net, as this is probably seeming rather complex. Which perhaps it is, but DX really isn't a plotting package. If what you're mostly interested in doing is plotting lines, DX is probably not the right tool. It's plotting capabilities are fairly rudimentary; it's really intended for 3D visualization. Understanding the way in which DX creates geometry from data is pretty important to making all this seem less arbitrary (which it really isn't). (See attached file: test.net) Donna L. Gresh, Ph.D. IBM T.J. Watson Research Center (914) 945-2472 http://www.research.ibm.com/people/g/donnagresh [EMAIL PROTECTED] Russell Auld <[EMAIL PROTECTED]> Sent by: owner-opendx- To: [email protected] [EMAIL PROTECTED] cc: Subject: [opendx-users] [newbie] Help with the basics 09/04/2002 08:55 PM Please respond to opendx- users Please pardon my ignorance, but can someone tell me how to simply phi vs x on a simple "plot" given that I have a flat file with x in one column, phi in another as such: 2160 3.456 2161 3.455 2162 3.454 2163 3.453 etc... I'm trying to use an "ImportSpreadsheet" and then a "plot" object into an image, but something is missing. Russ
test.net
Description: Binary data
