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
 scrolling in graphs
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

ibvmt

Switzerland
Posts

Posted - 11/16/2004 :  05:19:03 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): v7.5776
Operating System:XP Prof
I have worksheets with more than 20000 lines.
With a line graph not all points can be seen at once on a screen.
I can zoom in to see individual points.
But I don't get any sliders to scroll through the graph (like on the worksheet).
What do I miss?
Thanks for help.

easwar

USA
1965 Posts

Posted - 11/16/2004 :  09:48:28 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

You could do the following:
1> Click on the "Open Template" button on the Standard toolbar
2> Select Graphs (*.otp) from the Files of Type drop-down
3> Navigate to the Origin 7.5 EXE path and select the template file named Buttons.otp and click Open. You will now see a blank graph with many buttons
4> Plot your dataset into this graph. You can then use the buttons to scroll horizontal and vertical etc.

We are currently working on a toolbar that can be used on any graph (layer) rather than a graph such as above with buttons built into the template. We will post that solution on our File Exchange soon. Please check in a few days.

Easwar
OriginLab


Go to Top of Page

ibvmt

Switzerland
Posts

Posted - 11/17/2004 :  06:45:56 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
These buttons work.
But they are not as comfortable as a slider with the visual feedback (where you are on the axis and what zoom you are in).
Thanks
Peter
Go to Top of Page

easwar

USA
1965 Posts

Posted - 11/19/2004 :  12:07:10 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Peter,

Thanks for the suggestion of slider. We will consider for a future version.

For now, we put up a tool that adds a new toolbar which will work with any graph layer (rather than using a fixed template which is the solution I posted earlier):
http://www.originlab.com/FileExchange/details.aspx?fid=89

Easwar
OriginLab


Go to Top of Page

ibvmt

Switzerland
Posts

Posted - 11/30/2004 :  07:32:00 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Easwar
Thanks for that solution.
But I think the code should be changed from:
[ScrollLeft]
Scroll_Percent=Scroll_Percent==0/0?10:Scroll_Percent;
x1-=((x2-x1)*Scroll_Percent/100);
x2-=((x2-x1)*Scroll_Percent/100);
return 0;
to:
[ScrollLeft]
Scroll_Percent=Scroll_Percent==0/0?10:Scroll_Percent;
dx=x2-x1;
x1-=(dx*Scroll_Percent/100);
x2-=(dx*Scroll_Percent/100);
return 0;
Otherwise x1 has already a new value when you calculate x2.
How about a button to set Scroll_Percent?
With the above correction and Scroll_Percent=100% I can do what I wanted to.
Thanks again
Peter
Go to Top of Page

easwar

USA
1965 Posts

Posted - 11/30/2004 :  09:17:37 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Peter,

Thank you for the feedback. We will make the necessary changes and update the tool soon.

Easwar
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