Pro/Forums

Pro/Forums (http://forums.procooling.com/vbb/index.php)
-   Random Nonsense / Geek Stuff (http://forums.procooling.com/vbb/forumdisplay.php?f=15)
-   -   Ok groth walk me through this graphing thing (http://forums.procooling.com/vbb/showthread.php?t=9983)

pHaestus 07-13-2004 11:43 AM

It's probably more trouble than it's worth to sort through and separate vendors and oems from enthusiast sites

pHaestus 07-13-2004 12:38 PM

You know THIS would be a logical next project...

BillA 07-13-2004 12:40 PM

but what is the "quality" of the data ?
some disclaimers gonna be needed

pHaestus 07-13-2004 12:41 PM

Certainly not uniform data quality. How difficult is it to produce such graphs on your own?

BillA 07-13-2004 12:46 PM

no idea for the zero head flow rate, other than by arbritary definition of conditions
Cathar probably has a better idea than I
my pump flow bench is in pieces - and low priority for now

Groth 07-13-2004 01:23 PM

Quote:

Originally Posted by pHaestus
You know THIS would be a logical next project...

I've actually made a start towards it, pulling data off the graphs at http://www.reefs.org/library/pumps/ .

If anyone wants to give me PQ numbers, I'll find a home for 'em.

Some of my code upgrade ideas are smashing to splinters on the rocks of incompatibility. :mad:

pHaestus 07-13-2004 01:27 PM

Don't forget to make the graph big enoug for the Iwakis :)

I'll look for the .xls that that data came from in a sec

Groth 07-13-2004 01:32 PM

Already planning a 'zoom' button. :)

.xls is okay, but .csv is easier to import into Origin.

Groth 07-14-2004 02:01 PM

Okay, I re-did the image shuffling code to better suit the absence of the Show'em button. It should also be quicker and require fewer contacts with the server.

One bit of weirdness, in IE if you change a bunch of checkboxes very rapidly, the key legend can get corrupted (multithreading fun: it isn't doing the legend updates in the correct order). Let me know how serious of a problem you consider it.

This one.

pHaestus 07-14-2004 02:23 PM

I dont personally consider it a problem because I use firefox :)

Also, it's easy to import xls into origin; just choose open excel and point it to the proper tab.

Groth 07-14-2004 02:45 PM

Quote:

Originally Posted by pHaestus
I dont personally consider it a problem because I use firefox :)

Also, it's easy to import xls into origin; just choose open excel and point it to the proper tab.

LOL, way to show concern for the readers. 90% or better use IE?

It uses excel's dll's to open 'em, and since I don't have excel... They're still useable, but I have to pulled out the data as text and tabs or as a csv. :shrug: No biggie.

HammerSandwich 07-14-2004 03:30 PM

Quote:

Originally Posted by Groth
90% or better use IE?

Not if PC's audience is anything like Ace's Hardware's.

BillA 07-14-2004 03:32 PM

jeez, what a profile
that is a geek site

Groth 07-15-2004 09:02 AM

An alpha with coordinates. Not so exciting with the water blocks, but it'll be extra cool with PQ curves.

Resolution needs improvement, and it only works in IE at the moment. It looks like I can no longer avoid browser detection and tailored code. Ah the fun of specs that are mostly ignored.

EDIT-it now works with Mozilla.

BillA 07-15-2004 09:08 AM

can you use a pixel counter (with limits) and then convert back to the units ?

Groth 07-15-2004 09:27 AM

Know any good way to count pixels with javascript? I'm deep into the Document Object Model (DOM) searching for good/better ways to do this.

BillA 07-15-2004 09:40 AM

no, I dont write java, just a drinker

there exist (java applets ?) that count pixels, set the reference and as you move the cursor the coordinates are displayed
I used these to layout wep pages
I'll look for an example (later ??)

Groth 07-15-2004 09:50 AM

Java applets are a whole 'nother ball o' wax. I'll peek at an example if you find one, but despite the name similarity, Java != Javascript. I'll delve into Java if I need to, but in the meantime I'm looking for a solution using in-page scripting.

I found the correct object names to get my crude version going in Moz/Firefox. Now to come up with a way to do it better.

iroc409 07-15-2004 02:31 PM

nice project, quite impressive =)

Groth 07-17-2004 12:05 PM

Okay, I've smoothly working coordinates in this Mozilla only version.

Is it just my imagination, or are the metric grids/units a wee bit off?

Anyway, if you have Moz/Firefox, give it a whirl and tell me what you think or if you find any weirdness.

pHaestus 07-17-2004 12:19 PM

In completely unrelated news, didn't you buy a Digitec 5810 or 5820 Groth?

Groth 07-17-2004 12:21 PM

5820, yes. Nice little thermometer.

pHaestus 07-17-2004 12:41 PM

Do you need any probes? I have a stack of nine new in boc 701s (w/ Certs) and I'll send one or two if you think they'd be useful :)

Does your 5820 have analog out on the back btw?

Groth 07-17-2004 12:54 PM

I bought a lot of a dozen probes, include eight new in box w/certs (no retsyn, though) 701s at the same time I bought the meter. I even offered some to you in a PM. ;) No outputs on mine, pencil and paper recording.

On topic, did that coordinate returning function work for you?

Groth 07-17-2004 02:57 PM

Yay! Now the beastie will output graph coordinates in both IE5.5 and Mozilla 1.7.

The metric flow numbers don't match the metric grid due to a slight inaccuracy in the metric backgrounds. BalefireX? :D

Please please test it with your various browsers so I can maximize compatibility.

pHaestus 07-17-2004 03:50 PM

Seems to work fine in firefox 0.91

BalefireX 07-17-2004 06:06 PM

It appears to be a "rounding to pixels" problem - when making the metric graph, I had to determine how many pixels made up a gallon, then convert it to liters, and then split that into 4 equal parts. I assume you did a similar thing to do your coordinate plotting, but we are one pixel different per liter - IE, at 1LPM on my graph, you get 1.01 on the coordinate, and at 7LPM you get 7.07 on the coordinate. Perhaps there is some way to drop it by that .01 per liter on the coordinate side, as taking off one pixel from the graph would mean that the 4 equal parts would no longer be equal.

pHaestus 07-17-2004 06:18 PM

time for an upgrade to 0.1 pixel resolution

Groth 07-17-2004 06:21 PM

I based the coordinates on the gallons, since they were the original units, and set the scaling and offset to work with them. For the metric, the pixels are still translated to gallons, then multiplied by 3.7854118 to get liters.

It'd be a lot cooler to have the metric measurements match up to the american ones, rather than fudging the metric coordinates. Every other liter moved over by a pixel?

Edit-Hey pH, where can I get one of those one tenth pixel resolution monitors?

BalefireX 07-17-2004 06:55 PM

I believe I multiplied by 3.78 (imprecise, I know, but it was good enough when working with 72 pixels per inch) you might want to see if that gives a better matching result.


All times are GMT -5. The time now is 09:54 PM.

Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
(C) 2005 ProCooling.com
If we in some way offend you, insult you or your people, screw your mom, beat up your dad, or poop on your porch... we're sorry... we were probably really drunk...
Oh and dont steal our content bitches! Don't give us a reason to pee in your open car window this summer...