AutoHotkey Community

It is currently May 26th, 2012, 9:49 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 36 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
 Post subject:
PostPosted: August 8th, 2007, 2:16 pm 
Offline

Joined: June 6th, 2006, 3:19 pm
Posts: 1654
Location: Denmark
Well, thank you!

Just remember that it didn't dwell on the details on scaling the output. The x-axis is to the right and y-axis down...

_________________
RegEx Powered Dynamic Hotstrings
COM
AutoHotkey 2


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 4th, 2008, 4:26 am 
Offline

Joined: October 21st, 2006, 5:13 pm
Posts: 23
Hi,

Can anyone offer an explanation as to why the graphs won't plot when this script is compiled?

Thanks.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 4th, 2008, 5:35 am 
Offline

Joined: July 15th, 2007, 1:43 am
Posts: 1320
It uses an off-script method for finding the slope of the line. You can fix this by using Laslo's Eval() function.

_________________
Religion is false. >_>


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 4th, 2008, 1:24 pm 
Offline

Joined: June 9th, 2008, 2:32 am
Posts: 936
Location: Canada
Dam*... Nice.

_________________
Image
I know i have 6 legs. It's cuz I'm special.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 4th, 2008, 11:04 pm 
Offline

Joined: October 21st, 2006, 5:13 pm
Posts: 23
Trikster wrote:
It uses an off-script method for finding the slope of the line. You can fix this by using Laslo's Eval() function.

Thanks for the reply, but if you are referring to ...

jonny wrote:
Here is a new version of the script that doesn't require a temporary file to do the computation. It uses Laszlo's "Monster" expression script. [...]
Code:
;; Taken from Laszlo's "Monster" expression evaluation script (version 20070301):
;; http://www.autohotkey.com/forum/viewtopic.php?t=17058

Eval(x) {                              ; PRE/POST PROCESSING (Global Dynamic vars, Array y: y1, y2, y3)
[...]

... the graphs still don't plot after compiling.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 4th, 2008, 11:45 pm 
Offline

Joined: July 15th, 2007, 1:43 am
Posts: 1320
fade2gray,

I tested this in a compiled script. From my view, it works correctly. I have uploaded a compiled version that you may download.

_________________
Religion is false. >_>


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 4th, 2008, 11:53 pm 
Offline

Joined: October 21st, 2006, 5:13 pm
Posts: 23
@Trikster
If this should work on an XP sp3 machine - then I have a localised problem as I only see the gui and the graph paper - maybe a missing dll?

Any suggestions how I might troubleshoot?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 5th, 2008, 12:38 am 
Offline

Joined: July 15th, 2007, 1:43 am
Posts: 1320
If you haven't clicked the right button to make a new line, do so. If you have, try updating your AHK.

_________________
Religion is false. >_>


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 5th, 2008, 3:40 am 
Offline

Joined: October 21st, 2006, 5:13 pm
Posts: 23
Trikster wrote:
If you haven't clicked the right button to make a new line, do so. If you have, try updating your AHK.

I can create a graph by right clicking and entering an equation using the uncompiled script.

Image

If I try using the same, or any other, equation using the script that I have compiled myself, or using the one that you uploaded, I only see the gui and graph paper. The fact that it doesn't work for me using your compiled script indicates that the version of AHK is irrelevant (I'm using v1.0.47.06 btw).

If I decompile your script (or mine), so as the gui script and the main script are on the same page (#include grapher.ahk commented out), the script works properly again.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 5th, 2008, 8:14 pm 
Offline

Joined: April 4th, 2008, 8:15 pm
Posts: 538
Location: Canada
This will make my inequality unit much easier, thanks a lot! :o


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 19th, 2009, 4:29 pm 
Offline

Joined: January 13th, 2009, 8:15 am
Posts: 25
Could this be altered to chart a progress of some sort?

like the height of a person as it grows...

X = age... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ...
Y = length... 49,70,92,100,112,121 ...

Like, I put X into a list and Y into a list and VOILÁ!
Get it represented on the chart... Puhleeease?
If I can't alter these functions to do it... Could someone please point me in the right direction?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 19th, 2009, 5:59 pm 
Offline

Joined: May 2nd, 2006, 11:16 pm
Posts: 800
Location: Greeley, CO
@alarian

My Biorhythm Calculator uses RMchart.dll for graphing.
It's very easy to use and should do the trick for you.
Usage is explained in engunneer's original AHK post.

Alternatively, you can try denick's* native AHK solution.
*German forum at http://de.autohotkey.com; English thread posted by Zed Gecko.

_________________
Image
SoggyDog
Dwarf Fortress:
"The most intriguing game I've ever played."


Last edited by SoggyDog on February 20th, 2009, 7:36 pm, edited 3 times in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject: Thanks a bunch!
PostPosted: February 19th, 2009, 11:59 pm 
Offline

Joined: January 13th, 2009, 8:15 am
Posts: 25
Thank you so much. :D
I found your biorythm calculator and I wrote down the .dll before I went to bed last night.

I'll check it out more later, your .ahk will be great learning material.
Thanks for the native solution aswell :!:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 20th, 2009, 6:58 pm 
Offline

Joined: January 13th, 2009, 8:15 am
Posts: 25
T_T

I have a problem...
How can I update data series when the SetDataSeries function requires an array?
No arrays in AHK


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 20th, 2009, 7:31 pm 
Offline

Joined: May 2nd, 2006, 11:16 pm
Posts: 800
Location: Greeley, CO
alarian wrote:
T_T

I have a problem...
How can I update data series when the SetDataSeries function requires an array?
No arrays in AHK

There are lots of ways around this;
Try olegbl's AHKArray [Real Array - One Variable].

_________________
Image
SoggyDog
Dwarf Fortress:
"The most intriguing game I've ever played."


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 36 posts ]  Go to page Previous  1, 2, 3  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Stigg, Yahoo [Bot] and 11 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group