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
 All Forums
 Origin Forum for Programming
 Forum for Python
 graph.rescale(), more input parameters

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
niaji Posted - 10/12/2022 : 1:01:50 PM
Origin Ver. and Service Release (Select Help-->About Origin): 2021
Operating System:WIN11
Hi, I am trying to use python to produce a graphe from sheet, but it seems that the scale of the axis is determined automatically.
I think the graphe.rescale(self, skip: str = 'axis to skip') function would be more perfect if we can set the range mannually since some data may have a limit such as the efficiency which will never exceeds 100%. Hopefully you can consider this suggestion
2   L A T E S T    R E P L I E S    (Newest First)
niaji Posted - 10/13/2022 : 08:38:49 AM
quote:
Originally posted by YimingChen

You can use the set_xlim() function. For example:
gl.set_xlim(0,1)

https://docs.originlab.com/originpro/classoriginpro_1_1graph_1_1GLayer.html#ade5e9d47cf32ffa00ac59728605ea04e

James



Thx, james
YimingChen Posted - 10/12/2022 : 1:59:40 PM
You can use the set_xlim() function. For example:
gl.set_xlim(0,1)

https://docs.originlab.com/originpro/classoriginpro_1_1graph_1_1GLayer.html#ade5e9d47cf32ffa00ac59728605ea04e

James

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000