The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 Forum for Origin C
 Convert (strange) ascii-grid into xyz sheet
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Booby

Sweden
Posts

Posted - 10/17/2006 :  1:17:52 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version: 7.5
Operating System: WinXP

To all the origin experts in the world,

I guess my problem has been solved manyfold, but I just couldn't find
it in the FAQ or search function.

I need to convert a gridded Ascii z data stream into an xyz worksheet by extracting x and y starting points, end points and step sizes.

Problem: Instead of the start values the ascii file states the center
values.

Can I find such an import routine somewhere in the depths of the forum?

Thanks in advance for answers.

/Manfred Beckers

zachary_origin

China
Posts

Posted - 10/18/2006 :  10:29:01 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Manfred Beckers,

I not sure if I understood your problem clearly. Did you mean: instead of starting points, you can only get center point? Assuming for x, the center point is Xc, end point is Xe, and starting point is Xs, then they have the relation of Xc=(Xe+Xs)/2 so Xs=2*Xc-Xe. This is a simple calculation. is there any difficulty for these? If you are not familiar with Origin C, do not hesitate to paste a piece of data here or directly send the data file to our technical support mailbox ( tech@originlab.com ) and we will write the code for you.


Zachary
OriginLab Technical Services.


Edited by - zachary_origin on 10/18/2006 11:06:04 PM
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000