3D surface plot with daily hours in the x-axis and days in y-axis

1 Ansicht (letzte 30 Tage)
Milton Logothetis
Milton Logothetis am 2 Jan. 2019
Hi, I'm new to 3D plots and I want to make a surface plot. The data to be plotted will consist of some sensor values including a datetime parameter. It should take whatever data I have and plot the hourly values in the x-axis, the days in the y-axis and the z values will be a single sensor parameter. I want the x-axis to always start from 00:00 and end at 12:00 and the y-axis to start from a Monday and end on a Sunday (and then repeat depending on how many days the imported data consists of). My problem is I dont understand how I can tell matlab to use these definitions for the axis and overwrite whatever data I have on top of these. I understand I have to manipulate the time data using datenum and I think I might need to create timeseries objects for that but I can't find any good documentation on how to do what I want. Anybody has any ideas or any example codes that could help? Anything is appreciated.

Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by