LabWindows/CVI

取消
显示结果 
搜索替代 
您的意思是: 

Labelling graph

You cannot obtain a round axis scale if you use axis auto apdate: you must switch to manual scaling ans use SetAxisScalingMode with the appropriate values to obtain your scale. You coud for example use maxMin1D to obtain the maximum value and format your scale accordingly, or let the graph update its scale, read back min and max value and the manually adjust the scale.


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 项奖励
21 条消息(共 25 条)
1,760 次查看
Actually, you can, Roberto. If the axis is in autoscale mode, you can use the "Loose Fit" option in the Edit Axis Settings dialog, together with the "Loose Fit Units" setting, to control how much "padding" is added to the axes for the purposes of autoscaling. (You can click on the ? icon for a detailed explanation)

The corresponding attributes are ATTR_XLOOSE_FIT_AUTOSCALING and ATTR_XLOOSE_FIT_AUTOSCALING_UNIT.

Luis
0 项奖励
22 条消息(共 25 条)
1,745 次查看
Aha! I never undestood completely that "loose fit" parameter so I ended up erasing it from my memory 吃惊表情
It's true that you never end up your training here!
 
Ok, one for you, zero for me in this game, Luis! 极度高兴的表情


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 项奖励
23 条消息(共 25 条)
1,741 次查看

Thanks guys for the help.

Appreciated!

k1_ke

0 项奖励
24 条消息(共 25 条)
1,713 次查看

Hi guys have another quick question for you. I have attached a picture of my problem.....well basically its the labelling on a bar graph....say if the bar gets smaller.....the start & end values dont fit thus one of them is missing....i use insertaxisitem()  to label tha graph...

Is tehre any way round this problem......so if the start n end reading overlap..shift the start more to the left or something...

Looking forward for a positive reponse...

Thanks

k1_ke

 

0 项奖励
25 条消息(共 25 条)
1,675 次查看