Post Reply 
Python Matplotl usage
10-24-2022, 03:27 PM (This post was last modified: 10-24-2022 03:30 PM by Ioncubekh.)
Post: #6
RE: Python Matplotl usage
@Edward
Quote:add after matplotl.show() a prime.eval instruction with a WAIT
It seems working but the result is attached Sad The axis & all other stuff is missing through I invoked them in code explicitly
I think some code from graphics() library is to be used which I don't know
Code:

EXPORT ukchart()
BEGIN
PYTHON(ukchart0);
WAIT(0);
END;

#PYTHON ukchart0()
from matplotl import *
from linalg import *
from math import *

x=linspace(0,90,100)
y=[cos(j) for j in x]
clf()
plot(x,y)
axis(0,90,-1,1) #also tried axis('on') | axis('square')
show()

#end


Attached File(s) Thumbnail(s)
   

HP Prime G1
Python via Android Termux...
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Python Matplotl usage - Ioncubekh - 10-20-2022, 06:06 PM
RE: Python Matplotl usage - Ioncubekh - 10-23-2022, 07:33 PM
RE: Python Matplotl usage - Guenter Schink - 10-23-2022, 10:08 PM
RE: Python Matplotl usage - Eddie W. Shore - 10-24-2022, 02:01 AM
RE: Python Matplotl usage - parisse - 10-24-2022, 01:08 PM
RE: Python Matplotl usage - Ioncubekh - 10-24-2022 03:27 PM
RE: Python Matplotl usage - parisse - 10-25-2022, 10:04 AM
RE: Python Matplotl usage - Ioncubekh - 10-25-2022, 05:45 PM
RE: Python Matplotl usage - parisse - 10-25-2022, 08:03 PM
RE: Python Matplotl usage - Ioncubekh - 10-25-2022, 08:35 PM
RE: Python Matplotl usage - parisse - 10-26-2022, 10:38 AM



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