Community Profile

# Sebastian Bomberg

### MathWorks

9 2019 年以降の合計貢献数

#### Sebastian Bomberg's バッジ

4D surface plot
You have scattered not gridded data. Have a look at this: Making Surface Plots From Scatter Data

How to reorder legend entries with plot children
You can reorder the children of the axes: ax = gca; ax.Children = ax.Children(neworder);

How to change the Marker size and the Marker symbol of some specific nodes
You can use highlight with the appropriate Name/Value pairs: highlight(h,801:1000,"Marker","s","MarkerSize",5)

| 採用済み

How to create a single array with datetime range?

| 採用済み

How do i convert a numerical cell array in a vector ?
Use str2num on the content of the cell: str2num(Arr{:})

Grouping similar element based on common columns
You can use outerjoin: % Convert matrices A and B to tables TA = array2table(A,"VariableNames",["Key"+(1:3) "A"]) TB = array2...

| 採用済み

Setting the scale of colorbar while plotting heatmap
You can manually control the color limits of heatmaps: h = heatmap(__,'ColorLimits',[0 10]) See HeatmapChart Properties.

how can I find a specific data in time table in matlab?
You can offset temperature by one day and compare against >= 4. idx = data_mean_daily.tabrizmat7(1:end-1) >= 2 & ... % temp ...

How to turn NaN values in only numerical columns into -999?
You can have fillmissing apply only to the numeric variables directly: fillmissing(T1,"constant",-999,"DataVariables",@isnumeri...