Python Forum
3d Surface where Z is not a function of X and Y
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
3d Surface where Z is not a function of X and Y
#1
Basically the thread title.

So lets say X = date1 date2 and so on and each date has several corresponding values A, B, C. The value of A on date1 is different than the value of A on date2. So Z are the values. How Do i plot This?

All i could find are tutorials where Z is a function but i want Z to be the values that i already have.
Does anybody have a link for me?
Im pretty Sure it cant be done im matplotlib but maybe in plotly?
Reply
#2
richterjan Wrote:The value of A on date1 is different than the value of A on date2. So Z are the values.
I don't understand how the surface is defined. Could you be more specific, perhaps with a concrete example?
Reply
#3
I'm also unsure exactly what you are looking for, but 3 dimensions and changes over time is vector math.

I use pygame for vectors, but you could use vector3d.

You can also use dictionaries to store your points.
Points = { "point1" : (x, y, z),
           "point2" : (x, y, z)}
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Calculating surface area - - OOP or functional? Derek Banas Udemy course Drone4four 5 3,529 Mar-13-2021, 06:22 AM
Last Post: buran
  Plotting 3D surface plot for non-linear multivariate regression with 5 variables khwajaosama 0 2,682 Jul-02-2020, 04:50 AM
Last Post: khwajaosama
  matplotlib recursion error when repeatedly displaying a surface AdeIsHere 0 1,896 Sep-19-2019, 04:36 PM
Last Post: AdeIsHere
  Projected Surface in 2D [Difficult topic] Hans_K 6 3,792 Aug-02-2017, 09:16 AM
Last Post: Hans_K

Forum Jump:

User Panel Messages

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