plot_thomas.raw not working?

Discussion around the SwissMicros DM42 calculator
Post Reply
dk-
Posts: 16
Joined: Wed Sep 23, 2020 7:46 pm

plot_thomas.raw not working?

Post by dk- »

Hi,

It seems like plot_thomas.raw is not working as intended on my DM42. Anyone know what might cause this? I am running DMCP 3.18 and DM42 3.15

If I run it on Free42, with the following function:

Code: Select all

00 { 19-Byte Prgm }
01▸LBL "FNC"
02 MVAR "X"
03 RCL "X"
04 ENTER
05 3
06 Y↑X
07 X<>Y
08 -
09 END
Then I get a nice printout. If I do the same on my DM42 I get the same printout, but I don't get numbers on the X-axis.

Free42:
Image

DM42:
Image
Thomas Okken
Posts: 1107
Joined: Tue May 02, 2017 5:48 pm
Location: Netherlands
Contact:

Re: plot_thomas.raw not working?

Post by Thomas Okken »

You must clear flag 00 in order for the numbers along the X axis to show up. Whether the axis itself is printed or not is controlled by flag 01.

These flag behaviors are inherited from the PLOT program from the HP-42S manual; see page 161. This information is easy to miss, as it's only mentioned in the comments with the program listing!
dk-
Posts: 16
Joined: Wed Sep 23, 2020 7:46 pm

Re: plot_thomas.raw not working?

Post by dk- »

You're right! I don't know how I missed that. I was switching back and forth between the original plot program but it always worked there. I must have done something with the flags in between. Thanks!
Post Reply