HPLOT

Contributions to this software library are always welcome. Please ensure that you post program listings rather than .raw files. They give a reasonable idea of what your program does without having to load them into a DM42 and you can also include comments in your code. Check out the following link for a decoder/encoder: https://technical.swissmicros.com/decoders/dm42/

You can then copy/paste the listing and post it in "code" tags.
Thomas_ER
Posts: 97
Joined: Mon Jul 24, 2017 3:19 pm
Location: Germany

Re: HPLOT

Post by Thomas_ER »

Walter wrote:
Thu Dec 21, 2017 5:52 am
No, this was something I wrote in the WP43S manual. ;)
Whow!
The manual is ready before the calc. ;)
[ HP48/49/50/42S/WP34/HP Prime/ DM42 (#00185+00318) ]
User avatar
Walter
Posts: 1679
Joined: Tue May 02, 2017 11:13 am
Location: Close to FRA, Germany

Re: HPLOT

Post by Walter »

Thomas_ER wrote:
Thu Dec 21, 2017 11:32 am
Walter wrote:
Thu Dec 21, 2017 5:52 am
No, this was something I wrote in the WP43S manual. ;)
Whow!
The manual is ready before the calc. ;)
In our business, that's the way. The manual serves as spec of the UI as well. And you can avoid a lot of bullshit and development loops by specifying in due time what you want to achieve - taking the point of view of future users.

If you want, take a look at the manuals of the WP3xS so you know what I'm talking about. ;)
DM42 SN: 00041 Beta
WP 43S running on this device

HP-35, HP-45, ..., HP-35S, WP 34S, WP 31S, DM16L
User avatar
revwillie
Posts: 122
Joined: Mon Apr 24, 2017 7:48 pm

Re: HPLOT

Post by revwillie »

So, it's actually simpler than I thought. Here I was, hunting through alpha menus looking for the "pi" character but of course, it's right there on the roll key (shifted). Duh.

Where you would otherwise issue the "PIXEL" command for a little dot at the X,Y coordinates in the X and Y registers, use this instead:

"PiPiPi"
AGRAPH

and it should be preceded by CLA if the alpha register had something else, like the name of the function to graph, in it.
DM42 SN: 00076
DM15, HP 28c, HP 12c, HP 10b, HP 20b, HP 30b, HP 17bII, HP 42s, HP 35s, WP 34s, NP-25, TI-83+, teenix multicalc
grsbanks
Posts: 1059
Joined: Tue Apr 25, 2017 11:23 am
Location: Preston, Lancs, UK
Contact:

Re: HPLOT

Post by grsbanks »

revwillie wrote:
Thu Dec 21, 2017 1:55 pm
"PiPiPi"
AGRAPH

and it should be preceded by CLA if the alpha register had something else, like the name of the function to graph, in it.
CLA isn't necessary if you use a string literal without the "append" character. It was only necessary when using XTOA because that function appends to the alpha register rather than replacing its contents.
There are only 10 kinds of people in the world: those who understand binary and those who do not.
User avatar
revwillie
Posts: 122
Joined: Mon Apr 24, 2017 7:48 pm

Re: HPLOT

Post by revwillie »

grsbanks, you are a huge help.

because I prefer GrMod selection m3234 style like you did in DJPLOT, I've abandoned HPLOT and started working in DJPLOT. Also, the tick marks are great.
DM42 SN: 00076
DM15, HP 28c, HP 12c, HP 10b, HP 20b, HP 30b, HP 17bII, HP 42s, HP 35s, WP 34s, NP-25, TI-83+, teenix multicalc
Post Reply