News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

plotting in masm 32 bit

Started by markallyn, March 06, 2018, 07:19:16 AM

Previous topic - Next topic

jj2007

#60
Hi Mark,
I am working on the SetAxis macro. Work in progress 8)

The syntax for the X and Y axes will be as follows:  SetAxisX "You can use a different font for the abscissa", s 0, d 0.1, font hHorzFont ; s=start value, d=difference between gridlines
  SetAxisY "The ordinate can be as long as you want it to be", s 0, d 0.05, font hVertFont, penx hPenAxis, peng hPenGrid, format "%__f"

LiaoMi

Hi,

very interesting code - Source code for 'Practical WPF Charts and Graphics' by Jack Xu https://github.com/Apress/practical-wpf-charts-graphics
its from the book


Maybe, attempt to use together with AsmDotNet64, its also a good idea http://masm32.com/board/index.php?topic=6726.msg72401#msg72401

jj2007

Quote from: LiaoMi on March 25, 2018, 01:05:33 AMvery interesting code - Source code for 'Practical WPF Charts and Graphics' by Jack Xu https://github.com/Apress/practical-wpf-charts-graphics

Go ahead, Mark's text file with the values used below is attached here :t

dedndave


hutch--

If I remember correctly, old school GDI had some very good functions for doing multi point graphs. Its been that long since I have used them that I forget the details but writing it to a back buffer then using BitBlt for the client area display was very snappy in performance terms.

jj2007

Here is version 4. Note that almost every aspect can be defined individually.