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
 plot vertical lines
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

smburu

USA
12 Posts

Posted - 12/19/2015 :  6:10:20 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I would like to graph vertical lines from a column with about 5 to 10 data points. I find the method of add straightline > choosing vertical line and entering the value to be very tedious. I have about 20 sheets per workbook. Once I make the first graph, I would like to batch process it to make similar plots in all 20 samples.


Edited by - smburu on 12/19/2015 6:12:38 PM

KenLefebvre

USA
66 Posts

Posted - 12/21/2015 :  09:19:36 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi smburu, I would consult this previous forum thread
http://www.originlab.com/forum/topic.asp?TOPIC_ID=4122

draw -n Mark1 -w 0.5 -d 1 -l -v 5;
Mark1.color=2

I can confirm that the script in the last post simply places a dashed vertical line over the x=5 mark. "Mark1" is the given name, 0.5 represents the line's weight, 1 represents the dashes on the line, set it to 0 if you'd like your line to be solid. With a few modifications you should be able to take this script and place it in the "script before/after" boxes in the batch processing dialog to automatically generate vertical lines for the graphs you want to bring into your project.

You can also run batch processing on your graphs by right clicking on the Title Bar of your graph window (right next to the name e.g. Graph2, etc.) and selecting Duplicate>Batch Plotting.
http://www.originlab.com/doc/Origin-Help/Graphing-Batch-Plotting

And lastly if you're actually trying to add vertical lines for each individual set of data, I would also try vertical dropline graphs, which can be found in Plot>Symbol>Vertical Drop Line
http://www.originlab.com/doc/Origin-Help/Vertical-Drop-Line

If you want a more extensive explanation for how to implement this, don't be afraid to ask! Or if none of this works for you, feel free to send your OPJ to our tech support at tech@originlab.com

Ken Lefebvre
Technical Service Representative
OriginLab

Edited by - KenLefebvre on 12/21/2015 11:35:56 AM
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