Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #15590 > unrolled thread

Dynamically setting {min, max} in Angular Gauge[] & speed it up.

Started byMatthias Bode <lvsaba@hotmail.com>
First post2013-10-04 02:10 +0000
Last post2013-10-04 02:10 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Dynamically setting {min, max} in Angular Gauge[] & speed it up. Matthias Bode <lvsaba@hotmail.com> - 2013-10-04 02:10 +0000

#15590 — Dynamically setting {min, max} in Angular Gauge[] & speed it up.

FromMatthias Bode <lvsaba@hotmail.com>
Date2013-10-04 02:10 +0000
SubjectDynamically setting {min, max} in Angular Gauge[] & speed it up.
Message-ID<l2l832$4vu$1@smc.vnet.net>
Hola:

This

DynamicModule[
   {x = Dynamic[Refresh[IntegerPart[
             FinancialData["XAU/EUR"]*32.15123943028],
           UpdateInterval -> 10]]},
   AngularGauge[x, {31000, 31200},
     TargetUnits -> "EUR/kg Au",
     GaugeLabels ->
       {Dynamic[Refresh[DateString[{"Hour", ":",
                 "Minute", ":", "Second", " h"}],
             UpdateInterval -> 1]], "Unit", "Value"},
     ScaleDivisions -> 12, GaugeStyle -> Red,
     TicksStyle -> Black, PerformanceGoal ->
       "Speed", ImageSize -> 200]]

works - albeit extremely slowly and paralyzing the machine; keyboard input only appears after several seconds.*

I would like to set min and max as a function of x, e. g. {x * .9, x * 1.1}. How?

Best regards,

MATTHIAS BODE

*) === MathematicaMark9 Detailed Timings === (intel CORE i7)

      Total  Test 1  Test 2  Test 3  Test 4  Test 5  Test 6  Test 7  Test 8 Test 9  Test 10  Test 11  Test 12  Test 13  Test 14  Test 15

matthias
Microsoft Windows (64-bit)                   11.3   0.64    0.73    0.94   0.58    0.81    0.66    0.59    1.11    0.75    0.88     1.19     0.08    1.03     0.67     0.61

 		 	   		  

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web