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
 Origin Forum
 A graph with no worksheet?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

evanm

Canada
Posts

Posted - 05/17/2004 :  10:27:12 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hello,
Does anyone know if it is possible to create a graph and then delete the worksheet from which it was made while still keeping the graph intact? Whenever I delete the wks I lose all of my data points ...argh. What I want to do is plot all of the columns in a worksheet with all of the values say divided by some number, but I don't want to modify the original worksheet NOR create another one. Is this possible? I am trying to do this in Origin C. So far I have tried things like detaching the wks/graph/graphlayer and then destroying the worksheet, but as I said I lose all data points.
Thank you, Evan.

Mike

USA
357 Posts

Posted - 05/17/2004 :  10:41:24 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi evanm:

What about exporting the graph (as EPS, BMP, etc.) before wiping out the worksheet?

Mike
OriginLab
Go to Top of Page

evanm

Canada
Posts

Posted - 05/17/2004 :  11:05:52 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Mike, would that still work if I were to keep the graph in the project? I think if I export it then I have the graph, but not in the origin project.
Go to Top of Page

Mike Buess

USA
3037 Posts

Posted - 05/17/2004 :  11:39:08 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
If you just want to normalize the plot you can do so without changing the column values...

Format->Axis Tick Labels->Y Axis Tick Labels
Divide by Factor: <enter normalization constant>

That will affect only the tick label values but give you the desired plot without creating extra datasets.

Mike Buess
Origin WebRing Member

Edited by - Mike Buess on 05/17/2004 11:43:52 AM
Go to Top of Page

Mike

USA
357 Posts

Posted - 05/17/2004 :  11:50:52 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi evanm:

You've gotten a couple of other replies, but I should point out that Origin 7.5 users can attach separate files (image files, doc files, etc.) to the .OPJ file by adding them to the Project folder in the Origin C Workspace. These files travel with the .OPJ and are subsequently retrieved by opening the .OPJ file. For information, open the Origin Help file (Help:Origin) and look up index keyword = Attaching files.

Unfortunately -- at present anyway -- there doesn't seem to be a way to attach these files programmatically; it has to be done manually via the Code Builder interface.

Mike
OriginLab

Edited by - Mike on 05/17/2004 11:53:37 AM
Go to Top of Page

rdremov

USA
28 Posts

Posted - 05/17/2004 :  12:04:12 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
you can use GUI for that. Once graph is all set, execute File->SaveWindowAs command, which will save your graph + data as OGG file. OGG file has no worksheet, but otherwise is fully editable graph - you can format axes, labels, plots, colors, print and export etc plus data series.

You can later insert OGG file into any OPJ project.

Thanks,
Roman.
Go to Top of Page

Hideo Fujii

USA
1582 Posts

Posted - 05/17/2004 :  3:20:39 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
On the same line of Mike's, but it's probably easier to copy the graph page(CTRL-C) and paste(CTRL-V) it, say, into a layout window.

Hideo
OriginLab

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