Community Profile

photo

Benjamin Kraus

Last seen: 3 giorni fa Attivo dal 2013

Statistiche

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

Visualizza badge

Content Feed

Visto da

Risposto
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...

3 giorni fa | 0

Risposto
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...

27 giorni fa | 0

| accettato

Risposto
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...

30 giorni fa | 1

Risposto
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...

circa 2 mesi fa | 1

| accettato

Risposto
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 ...

circa 2 mesi fa | 1

| accettato

Risposto
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...

circa 2 mesi fa | 1

| accettato

Risposto
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...

circa 2 mesi fa | 1

| accettato

Risposto
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...

circa 2 mesi fa | 1

| accettato

Risposto
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...

circa 2 mesi fa | 0

| accettato

Risposto
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...

circa 2 mesi fa | 1

| accettato

Risposto
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...

circa 2 mesi fa | 0

Risposto
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...

circa 2 mesi fa | 1

Risposto
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 mesi fa | 0

| accettato

Risposto
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 mesi fa | 5

| accettato

Risposto
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 mesi fa | 2

| accettato

Risposto
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 mesi fa | 1

| accettato

Risposto
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 mesi fa | 0

Risposto
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 mesi fa | 4

Risposto
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 mesi fa | 3

Risposto
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 mesi fa | 0

| accettato

Risposto
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 mesi fa | 2

| accettato

Risposto
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 mesi fa | 2

Risposto
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 mesi fa | 0

| accettato

Risposto
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 mesi fa | 0

| accettato

Risposto
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 mesi fa | 0

Risposto
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 mesi fa | 1

| accettato

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

6 mesi fa | 1

Risposto
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 mesi fa | 0

Risposto
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 mesi fa | 1

| accettato

Carica altro