Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: pylab, labeling points on a graph.
Post: pylab, labeling points on a graph.

def abs(absc, absx, c): # find zeros of the function zero1 = (absc + absx) if zero1<0: zero1 = (zero1*-1) input1=(zero1+c) input2=(zero1-c) # write zeros from smalle...
Dasiey12 General Coding Help 0 1,692 Apr-04-2021, 01:08 AM
    Thread: graphing inequalities
Post: graphing inequalities

import matplotlib.pyplot as plt import numpy as np x = np.linspace(-10, 10, 100) y = abs(x+2) fig = plt.figure(figsize= (10,5)) plt.plot(x,y) plt.show()I get the graph to print. I was wondering what ...
Dasiey12 General Coding Help 0 3,463 Mar-30-2021, 01:47 AM
  Photo Thread: Plotting Trig Functions and Help with Streamlining Code
Post: Plotting Trig Functions and Help with Streamlining...

Hi I am plotting a unit circle in Matlibplot. I am using a Jupiter Notebook to run the code. I am really looking for a way to shorten the code. I found the x and y coordinates for the angles 30, 4...
Dasiey12 Code Review 1 2,249 Jan-02-2021, 07:33 PM
    Thread: slope intercept form
Post: RE: slope intercept form

I will look into the eval(). I am honestly thinking how many combinations are there of the equation y=mx+b? I think it is like a binomial distribution. y can be + or -, mx can be + or -, and b can...
Dasiey12 General Coding Help 6 3,951 Jun-14-2020, 05:09 PM
    Thread: slope intercept form
Post: slope intercept form

Hi, I am working on trying to write a program to convert any form of the slope intercept equation into the standard, y=mx+b form. I always have a hard time keeping track of negative an positive valu...
Dasiey12 General Coding Help 6 3,951 Jun-14-2020, 12:31 AM
    Thread: Italics
Post: RE: Italics

Hi thanks for the reply. I tried to run the code. txt = '\x1B[3m This is italic text \x1B[23m' print(txt)I am using Sublime a text editor. I saved the file as .py. When I run the code and it pri...
Dasiey12 General Coding Help 3 10,315 Jun-01-2020, 02:09 AM
    Thread: Italics
Post: Italics

I am pretty new to coding. I have had some luck with VBA. So python why not! I am reading Eric Matthews, Python Crash Course 2nd edition. I am working with string data type. I'd like to further o...
Dasiey12 General Coding Help 3 10,315 May-31-2020, 07:53 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020