Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2008
    Location
    Ufa, Russia
    Posts
    128

    Free tool: AMSGraph 1.0 beta 1

    I've been working on this tool for some 5-7 days already, still enhancing it. It's as yet pretty basic, but can already boast some functionality... So what's that?

    ----------------------------------
    PURPOSE
    ----------------------------------


    AMSGraph, as the name suggests, is to make graphs (2-D plots) in the Cartesian coordinates (X, Y axes). It does basically the same as MS Office Graph: given a set of Y values, it draws a simple 2-D plot on the AMS window. That's it. As yet the tool can only plot Y values, using the X values as "labels" (just as Excel 2007 does by default, when selecting a single-dimension array of values and pressing the Graph button). But more features are coming...

    ----------------------------------
    REALIZED FEATURES
    ----------------------------------

    • Resizable window. The user can resize the AMSGraph window to make the graph larer / smaller. So far I've failed to make AMS redraw the graph on resize automatically, because there seems to be some problem with page/object redrawing when OnSize fires; so one has to press the Build button every time after resizing the window.
    • Graph engine. The main "engine" is the single MakeGraph function that uses the powerful WinAPI plugin (by Reteset) to draw the graph. The function uses one argument - the all-in-one Settings associative array (structure) that contains settings for the graph field, axes, graph and grid.
    • Import data. As yet, importing from a text file is possible. The values in the text file must come in a row (separated by carriage returns). The decimal separator can be a dot or a comma. Values imported for the X axis will be treated as labels, not numbers.
    • Settings. The tool boasts flexible settings for the graph (such as showing / hiding lines, markers, tweaking colors and sizes for all graph elements, using gradients for the field [thanks to the Gradient plugin by Reteset], adjusting the Grid, etc.) AMSGraph uses an INI file to load / save default settings; at runtime, these settings are handled by the Settings array.
    • Graph exporting. The user can export the graph as an image (BMP, JPG or PNG). For that purpose, RizlaUK's capture DLL was employed. Again, exporting is configurable: one can set the export path, choose to overwrite / not to overwrite existing files, or even enable / disable AutoExport, which fires exporting at a given time interval.

    ----------------------------------
    COMING FEATURES
    ----------------------------------

    • Ability to make multiple graphs. As yet, only 1 graph is possible.
    • Math functions. Currently I'm trying to implement MATLAB functionality into AMS using the DLL interface. I am conning the MATLAB SDK and have already built numerous executables that can perform complicated math operations. In AMS, I want a feature that would simply solve a string like "1+1/sin(15.1) - 2*int(23,1,0) + log(12,1)" and return a numeric result. In MATLAB, that is possible via the "eval" function that evaluates any string. But in order to make that work in AMS, an intermediary DLL must be compiled that could convert between MATLAB and standard C data types.
    • Global settings. Not that difficult to make, but right now I'm kind of lazy.
    • Graph types. Not just 2-D plots, but charts, scatterplots, histograms, etc. Again, rather easy with WinAPI.
    • Some analysis functions, like putting in trends to the graphs, etc.
    • Something else? Your suggestions will be valued.

    ----------------------------------
    THANKS
    ----------------------------------


    To all AMS forum guys and IR staff. Many thanks to Reteset for the powerful plugins (WinAPI, Gradient, SpinButton) and RizlaUK for the handy Capture DLL.

    ----------------------------------
    DEPLOYED
    ----------------------------------


    Full installer made by me in AMS. Hope you'll find it easy and bugless
    The EXE is about 6.8 MB (the ZIP is 6.6)

    Main window:
    ExportGraph.png

    Graph Settings Dialog:
    ExportGraph_settings.png

    Take HERE.

  2. #2
    Join Date
    Jan 2008
    Location
    Ufa, Russia
    Posts
    128

    AMSGraph 1.1 beta 1

    This is an enhanced release of AMSGraph.
    Its principle difference from 1.0 is that the drawing engine is based on LuaGL (posted here some time ago), rather than WinAPI. It is now more stable, since LuaGL (like OpenGL) first processes the graphics in the memory and then outputs it; in AMSGraph, the output is made to a file (temp file) which is then loaded into an Image object, thereby making the displayed graph minimize-proof and flicker-proof.

    A new feature is added: the ability to build the Y values as a function of the argument X values (with the help of Dermot's free math expression parser -- thanks Dermot!)

    Some smaller changes are also present in this version. As you will see, many features are still non-functional, but that doesn't mean they are dysfunctional, cos I'll get to them some time soon

    Meanwhile, enjoy:

    MegaUpload
    DepositFiles

  3. #3
    Join Date
    Aug 2004
    Location
    Rio de Janeiro, Brasil
    Posts
    62

    Thumbs up

    Fantastic project! you put a lot of "hi-quality code lines" / "time" in this project,
    thanks a lot!



    @all: requires the gradient plugin, download it here:
    http://www.indigorose.com/forums/sho...t=23606&page=2

  4. #4
    Join Date
    Jan 2008
    Location
    Ufa, Russia
    Posts
    128
    Quote Originally Posted by Mikhail View Post
    Fantastic project! you put a lot of "hi-quality code lines" / "time" in this project,
    thanks a lot!
    Thanks for appreciating! I have always meant to impart some power of maths to AMS, but it is still a very weak attempt...

  5. #5
    Join Date
    May 2010
    Posts
    28
    Thanks but the link is not working for me
    Could you please upload it to this site's server?

  6. #6
    Join Date
    Jan 2011
    Posts
    6
    Great . . But the link does not work !
    Please can you upload

Similar Threads

  1. Best way to share custom buttons with the group?
    By mwreyf1 in forum AutoPlay Media Studio 6.0
    Replies: 10
    Last Post: 04-28-2010, 01:29 PM
  2. Example: Free tool : Dynamic Masking Tool
    By clueless in forum AutoPlay Media Studio 7.5 Examples
    Replies: 2
    Last Post: 04-25-2010, 07:37 AM
  3. * Free * : Dynamic Masking Tool v2
    By clueless in forum AutoPlay Media Studio 6.0
    Replies: 10
    Last Post: 03-27-2008, 04:45 AM
  4. * Free * : Dynamic Masking Tool (DMT V2)
    By clueless in forum AutoPlay Media Studio 7.5
    Replies: 8
    Last Post: 02-24-2008, 10:30 PM
  5. ANSI To UNICODE Is Finished!
    By coderanger in forum AutoPlay Media Studio 6.0
    Replies: 7
    Last Post: 08-13-2007, 09:27 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts