Community Profile

photo

Benjamin Kraus

Last seen: 4 dagen ago Active since 2013

Statistics

All
  • MATLAB Central Treasure Hunt Finisher
  • 24 Month Streak
  • Thankful Level 3
  • Solver
  • 5-Star Galaxy Level 2
  • Personal Best Downloads Level 3
  • Knowledgeable Level 5
  • Pro
  • GitHub Submissions Level 3
  • Revival Level 2
  • Explorer
  • First Review

View badges

Content Feed

View by

Answered
imagesc Vs pcolor Vs contourf for large arrays?
My recommendation would be to use imresize to reduce the number of rows/columns in your array before you plot it. Whether you u...

4 dagen ago | 0

Answered
Animation of PATCH-Figure
There are two issues with your code: You are calling patch repeatedly, which is adding a new patch in each loop, without removi...

28 dagen ago | 0

| accepted

Answered
unable to adjust real time views of surf plots in plot-drawnow animations
@Vinayak has the right idea, although pause should be unnecessary and drawnow is definitely the preferred approach. drawnow wil...

ongeveer een maand ago | 1

Answered
Passing real time plot data from a Matlab function to App Designer for plotting
There seems to be at least three difficulties you are running into: One is about calling the axis command without specifying an...

ongeveer 2 maanden ago | 1

| accepted

Answered
Parrallel Coordinate Plot set tick label intepreter to LaTeX
As the warning states, by calling struct on the object, you are accessing the internal implementation details of the chart, and ...

ongeveer 2 maanden ago | 1

| accepted

Answered
exportgraphics with ContentType vector does not work properly
Based on your description of the issue, my guess is that: Your figure is fairly complicated. Which means that exporting into a...

ongeveer 2 maanden ago | 1

| accepted

Answered
How to draw a radar search volume in 3D?
You are on the right track. To start with, you can use fsurf without needing to use symbolic expressions, you just need to swit...

ongeveer 2 maanden ago | 1

| accepted

Answered
How to find more than one string using find - strcmp?
There are several options to accomplish this goal. I'm assuming that the output from {EEG.event.code} is a cell-array of charac...

ongeveer 2 maanden ago | 1

| accepted

Answered
MATLAB 2023b Can not open apps made in MATLAB 2023b, and startup error
I would check for errors in your startup.m or pathdef.m. Specifically, what is the output from: which -all pathdef Compare th...

ongeveer 2 maanden ago | 0

| accepted

Answered
Plot both global and local legend
Your hidden axes (and global legend) needs to have the tiledlayout as a parent. X = rand(5); Y = rand(5); figure tcl = tile...

ongeveer 2 maanden ago | 1

| accepted

Answered
Changing plot in app designer
I believe that you will need to leverage something like a timer to accomplish this goal. Check-out this example on our doc page...

ongeveer 2 maanden ago | 0

Answered
how to xlimit for 3 different plot in 1 figure?
In your comment you said "I have figure file not the data." So, starting with a FIG-file, you first need to find the axes withi...

ongeveer 2 maanden ago | 1

Answered
How can I make colormap operate faster
Your guess about the behavior of the colormap command is incorrect. When you change the colormap, each individual rectangle is r...

2 maanden ago | 0

| accepted

Answered
2023b update 5 is slower
Update releases include primarily small bug fixes, and as such if they have any impact on the performance of MATLAB, they are li...

3 maanden ago | 5

| accepted

Answered
Strange warning regarding accuracy of computation in Matlab ?
Consider these two numbers: 100 and 101 If 100 is the "correct" answer, then 101 has an absolute error of 1 and a relative er...

3 maanden ago | 2

| accepted

Answered
How to add top and bottom x-axes labels to a heatmap?
If you check out this other question on MATLAB Answers: https://www.mathworks.com/matlabcentral/answers/378670-move-x-axis-label...

3 maanden ago | 1

| accepted

Answered
Array of ASCII Characters to String
The issue with your current code is that on line 2 you need to initialize word2 as a character vector instead of a double vector...

4 maanden ago | 0

Answered
xlabel/ylabel 'HorizontalAlignment' issue
The object used for the X-label and Y-label is the same text object that is created by the text command, and is a general purpos...

4 maanden ago | 4

Answered
move x axis labels on a heatmap to the top
If you want to do this using documented approaches, you can use a tiledlayout to position an axes below the heatmap, and the man...

5 maanden ago | 3

Answered
Move axes in 3D plot
Unfortunately, the XAxisLocation and YAxisLocation properties only work for 2D axes. Which means your only option is to draw th...

5 maanden ago | 0

| accepted

Answered
How can I remove the tooltip from the exported figure?
This banner should only appear when you first move your mouse over the figure, and it should only remain visible for 5 seconds. ...

5 maanden ago | 2

| accepted

Answered
what is subplot and how to use it?
If you are using MATLAB R2019b or later, you should consider using tiledlayout and nexttile instead of subplot. tiledlayout and ...

5 maanden ago | 2

Answered
How do you make the x-axis in imagesc using datetime values?
Starting in MATLAB R2023b, both the image and imagesc commands support datetime and duration data for the XData and YData proper...

6 maanden ago | 0

| accepted

Answered
How can I italicize the label of a heatmap?
Heatmap does allow you to customize the X and Y tick labels, by setting the XData and YData properties (alternatively, you can s...

6 maanden ago | 0

| accepted

Answered
Subscripts and supercripts in heatmap axis labels
Starting in MATLAB R2023b, the HeatmapChart now has an Interpreter property. h = heatmap(magic(4),'Interpreter','latex','CellLa...

6 maanden ago | 0

Answered
LaTex interpreter in Heatmap ax-label
Starting in MATLAB R2023b, the HeatmapChart now has an Interpreter property. h = heatmap(rand(30)); h.XLabel = '$M_{1}$'; h.Y...

6 maanden ago | 1

| accepted

Answered
Heatmap title - Interpreter (AppDesigner)
Starting in MATLAB R2023b, the HeatmapChart now has an Interpreter property. h1 = heatmap(magic(4)); h1.Title = 'file_name'; ...

6 maanden ago | 1

Answered
latex interpreter in Heatmap title
Starting in MATLAB R2023b, the HeatmapChart now has an Interpreter property. M = zeros(5,5); Xax = 1:5; Yax = 1:5; h = heatm...

6 maanden ago | 0

Answered
How to change text interpreter of HeatmapChart?
Starting in MATLAB R2023b, the HeatmapChart now has an Interpreter property. h = heatmap([1 3 5; 2 4 6]); h.Title = '$x^y$'; ...

6 maanden ago | 1

| accepted

Load more