I found the colorbar unnecessary for most of my 3-D arrays, but quite useful for plotting 4-D arrays. I added an element to the p structure called "ColorBar" which is checked before generating the colorbar. Then doing plot3k(...,'ColorBar',true,...) can be used to create the plot with the colorbar.
I have a 4D dataset similar and want to use this commands. I am totally new to Matlab. I imported the data from excel and biuld a Matrix:
Points=[g psi microstrain f]:
Each letter has a column of datapoints. When I use the commands above I always get the error:
Undefined function for plot3k for input arguments of type cell.
I tried a lot and dont have a solution.
Can anyone help me?