T O P I C R E V I E W |
evanm |
Posted - 05/17/2004 : 10:27:12 AM 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. |
6 L A T E S T R E P L I E S (Newest First) |
Hideo Fujii |
Posted - 05/17/2004 : 3:20:39 PM 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
|
rdremov |
Posted - 05/17/2004 : 12:04:12 PM 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. |
Mike |
Posted - 05/17/2004 : 11:50:52 AM 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 |
Mike Buess |
Posted - 05/17/2004 : 11:39:08 AM 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 |
evanm |
Posted - 05/17/2004 : 11:05:52 AM 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. |
Mike |
Posted - 05/17/2004 : 10:41:24 AM Hi evanm:
What about exporting the graph (as EPS, BMP, etc.) before wiping out the worksheet?
Mike OriginLab |