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: http://www.swissmicros.com/dm42/decoder/

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

Re: HPLOT

Post by Thomas_ER » Thu Dec 21, 2017 10:32 am

Walter wrote:
Thu Dec 21, 2017 4: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: 886
Joined: Tue May 02, 2017 9:13 am
Location: Close to FRA, Germany

Re: HPLOT

Post by Walter » Thu Dec 21, 2017 12:17 pm

Thomas_ER wrote:
Thu Dec 21, 2017 10:32 am
Walter wrote:
Thu Dec 21, 2017 4: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 --- Follower of Platon.

HP-35, HP-45, ..., HP-50, WP 34S, WP 31S, DM16L

User avatar
revwillie
Posts: 117
Joined: Mon Apr 24, 2017 5:48 pm

Re: HPLOT

Post by revwillie » Thu Dec 21, 2017 12:55 pm

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: 790
Joined: Tue Apr 25, 2017 9:23 am
Location: Preston, Lancs, UK
Contact:

Re: HPLOT

Post by grsbanks » Thu Dec 21, 2017 1:19 pm

revwillie wrote:
Thu Dec 21, 2017 12: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.
Not SwissMicros staff, just an enthusiast.

User avatar
revwillie
Posts: 117
Joined: Mon Apr 24, 2017 5:48 pm

Re: HPLOT

Post by revwillie » Thu Dec 21, 2017 2:16 pm

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