The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
(48G) Biorhythm curves
08-24-2024, 07:35 AM (This post was last modified: 08-24-2024 10:00 AM by Nihotte(lma).)
Post: #1
(48G) Biorhythm curves


(I am resuming here one of my old posts [cf. (HP12C) Biorhythms from 04-03-2020] but with a specific entry dedicated to HP48 on this theme. At the time, I raised a practical question about the layout of the curves with the 48: it remains relevant)

So the original post said :
----------------------------

I had a version for the HP48 (G-GX)
I'd like to present it, here

But it's not really a program
It's based on the PLOT function of the calculator

I have a directory, named BIOTH, inside the HOME directory.
Most objects (EQ and PPAR, by example) could be apply from the PLOT function that needs to be complete via the OPTS menu. But you should directly create each object before running the PLOT function by [green]+[8] keys.

These are the objects :

d : 31.032020 //
n : 31.012010 // birthdate
EQp : « 23 DUP n d Bioth »
EQe : « 28 DUP n d Bioth »
EQi : « 33 DUP n d Bioth »
Bioth : « DDAYS SWAP MOD SWAP / 360 * SIN →NUM »
EQ : { EQp EQe EQi }
PPAR : { (0 , -1) (32 , 1) { d 1.042020 30.042020} 1 { (0 , 0) { 1 .1 } } FUNCTION Y }

Code:

d : 31.032020 //
n : 31.012010 // birthdate
EQp : « 23 Bioth »
EQe : « 28 Bioth »
EQi : « 33 Bioth »
Bioth : «  DUP n d DDAYS SWAP MOD SWAP / 360 * SIN →NUM »
EQ : { EQp EQe EQi }
PPAR : { (0 , -1) (32 , 1) { d 1.042020 30.042020} 1 { (0 , 0) { 1 .1 } } FUNCTION Y }


Use
------

- CALCULATOR MODES [green]+[CST] :
. ANGLE MEASURE : Degrees
. FLAG : [D] menu key : flag 42 on dd.mm.yy format (to match the examples above)

- PLOT function [green]+[8]
via the menu keys :
. ERASE [E]
. DRAW [F]
after drawing the graph : PHYS, then EMO and finally INTL
. EDIT [E]
. [NXT] key
. MENU [F]

To study an other birthdate, you should modify the n variable data
To study an other period (month), you should rather modify via the PLOT menu and OPTS : [D] key
(the data to be update are LO and HI : key on the extent of a full month)

The process is quite simple but the method by PLOT function presents here a disadvantage.
The 3 curves have the same line appearance.


And, here is the question :
------------------------------

I don't known how to make a different line (full, dashed, ...) for each curve with this PLOT function.
Has somebody a method, or an idea on this ?


Keep you safe !

Laurent

#post modified to insert the optimised code in the dedicated area

Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
(48G) Biorhythm curves - Nihotte(lma) - 08-24-2024 07:35 AM



User(s) browsing this thread: 1 Guest(s)