Commit Graph

8 Commits

Author SHA1 Message Date
root 9271a15c2c I updated clamp and bounds. 2024-10-09 14:59:42 -04:00
root b3603aeeb6 I fixed the draw_points function.
I think this lab was challenging, and I'm not sure if I did it the
way we were supposed to, because I had to search how to use multiple
lists the way I wanted to, which was using zip. I tried adding the two
lists but it didn't seem like that would get my what I wanted, and also
it didn't work. I got stuck on getting the points drawn properly for a
while; first, I got a single point, then I was able to get a vertical
line of points, and then I got identical vertical lines of points at
each of the x-values (when I had the y for loop nested inside of the
x for loop).
I think the top-down vs. bottom-up approaches aren't really separate,
but you have to go back and forth between them because the top-down
approach helps to identify some of the pieces you need to work bottom-
up from.
I felt like at the beginning, I thought the program would use some of
the stuff we did in the pipes lab, so that informed my top-down plan.
Another program I thought about writing during this lab was one that
could take a csv file and identify different common elements and group
them and display them, but that has more to do with other tasks I was
doing than this lab probably, but I still think that some of the things
here probably helped me think about breaking that down into smaller
pieces.
2024-10-06 16:10:03 -04:00
root b588253a8b I continued to troubleshoot drawing the points.
My axes are good and then I got to where the last point was being
drawn (just one), and now all of the points are being drawn, but they
all have the same x-position because I have draw_points in a list
for y_value in y_values. I just wanted to submit to update my progress,
but I think I have to use both lists, but when I've tried it ends up
with an error.
2024-10-06 15:01:21 -04:00
root 8e47ec5d5a Superturtle still not importing even though I have it installed,
so I made another superturtle clone python file (superturtlescat.py)
for now. I also changed some of the functions to try to get the
scatterplot to be drawn properly, but it's still in progress.
2024-10-05 23:11:08 -04:00
root 1fd5736751 I completed defining the functions in transform.py.
I think it went well. The errors were kind of easy to fix because it
simple math, so seeing what was expected and what was returned helped
me to fix the errors. The one I had the most trouble with was actually
the ratio function, because I kept gettinga negative value even when I
first tried to include the clamp function. Eventually I figured to
return clamp with r as the value, instead of clamp and return r.
2024-10-05 11:03:42 -04:00
root e784cf6c9e I added more steps after I thought about how to find the minimum and
maximum values.
2024-09-28 21:48:23 -04:00
root f3336eb9b6 I added steps to the list for how to make a scatterplot.
I think I would be able to make most of the scatterplot now, but
I guess I am maybe unsure how the tickmarks and automatic scaling
are accomplished. It bothers me that the minimum and maximum on the
axes are the minumum and maximum values from the ordered pairs.
2024-09-28 21:33:54 -04:00
sscheuneman 6f27782da2 Initial commit 2024-08-28 01:19:50 +00:00