A special forum dedicated to our PT4 for Mac OS X users
Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators
by BDoganer » Sat Feb 07, 2015 7:44 am
I'm trying to color code the Aggression Factor stat in the HUD profiles. The problem is Aggression Factor can be infinity and I'm not sure how to set a color for when the stat is infinity. It seems that when the stat is 0 or Infinity it's set to the same color, but of course I want these two numbers to be different colors.
Does anyone know how to fix this issue? Thanks!
-
BDoganer
-
- Posts: 4
- Joined: Sun Jul 13, 2014 11:24 pm
by kraada » Sat Feb 07, 2015 10:55 am
The best way to do this is do your color coding for AF in the stat itself then you can color based on the sample size of the denominator - when the denominator is zero and the numerator is nonzero, the value is infinite.
-
kraada
- Moderator
-
- Posts: 54430
- Joined: Wed Mar 05, 2008 2:32 am
- Location: NY
Return to PT4 for macOS
Users browsing this forum: No registered users and 0 guests