photo

Benjamin Kraus

Last seen: 14 days ago Active since 2013

Followers: 0   Following: 0

Message

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

Feeds

View by

Answered
pie chart creation with name (number) and corresponding percentage
It is worth checking out the new (as of R2023b) piechart command. You can read about it here: https://blogs.mathworks.com/graph...

1 month ago | 1

Answered
How to change distance between groups of bars in a bar plot?
Starting in R2024a, you can now customize the width of each group of bars using the new GroupWidth property. For example: next...

1 month ago | 0

| accepted

Answered
Change distance between grouped bars (bars are overlapping)
Starting in R2024a, you can now customize the width of each group of bars using the new GroupWidth property. For example: y = ...

1 month ago | 0

| accepted

Answered
Is it possible to set the size of the gap between grouped bars in a bar graph?
Starting in R2024a, you can now customize the width of each group of bars using the new GroupWidth property. For example: coh ...

1 month ago | 1

Answered
can MATLAB render 10-bit images in a 10-bit TV?
As of R2024a, this MATLAB Answers post is still accurate: Does MATLAB support 10-bit or 12-bit monitors? When you create an Ima...

1 month ago | 0

| accepted

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

2 months 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...

3 months 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...

3 months 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...

4 months 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 ...

4 months 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...

4 months 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...

4 months 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...

4 months 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...

4 months 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...

4 months 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...

4 months 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...

4 months 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...

4 months 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...

5 months 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...

5 months 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...

5 months 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...

6 months 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...

6 months 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...

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

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

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

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

8 months 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...

8 months ago | 0

| accepted

Load more