photo

Afiq Azaibi

Last seen: 6 days ago Active since 2017

Followers: 2   Following: 0

Message

Developer on the Charting Team at MathWorks.

Statistics

All
  • Knowledgeable Level 3
  • First Submission
  • GitHub Submissions Level 1
  • Revival Level 1
  • First Answer

View badges

Feeds

View by

Answered
How to change the length of the lines inside the legend?
Starting in R2024b, you can leverage the IconColumnWidth property on legend to increase the length of the icons: plot(1:10,'l...

1 month ago | 0

Answered
How to increase the length of the legend line?
Starting in R2024b, you can leverage the IconColumnWidth property on legend to increase the length of the line: t = [0:0.1:...

1 month ago | 0

Answered
How can I modify the length of the lines in a legend?
Using multiple outputs from the legend command is discouraged and will start warning in R2024b. Also starting in R2024b, you can...

1 month ago | 1

Answered
legend symbol disappears when plotting a polyshape
Using multiple outputs from the legend command is discouraged. You mentioned how you are trying to change the size of the icons ...

2 months ago | 1

Answered
When using xline, would it be possible to have the text in one color and the lines in another color?
Starting in R2024b, you can leverage the LabelColor property on ConstantLine to control the color of the label independently of ...

2 months ago | 1

Answered
Can I change the color of the label in xline / yline to be different from the color of the line?
Starting in R2024b, you can leverage the LabelColor property on ConstantLine to control the color of the label independently of ...

2 months ago | 4

| accepted

Answered
How to create a transparent, rectangular patch with rounded corners?
Starting in R2024a, rectangle supports controling its transparency using the FaceAlpha property: bar(magic(4)); r = rectangl...

7 months ago | 1

| accepted

Answered
How do i highlight certain region in an image?
Starting in R2024a, xline, yline, xregion, and yregion all support the ability to appear both behind and in front of objects in ...

7 months ago | 0

Answered
setting transparancy of legend?
Starting in R2024a, legend supports the ability to control the level of transparency with the BackgroundAlpha property. Below is...

7 months ago | 1

| accepted

Answered
How to have MATLAB 2016 Legend without box and as transparent?
Starting in R2024a, legend supports the ability to control the level of transparency with the BackgroundAlpha property. Below ...

7 months ago | 0

Answered
set legend to non transparent
Starting in R2024a, legend supports the ability to control the level of transparency with the BackgroundAlpha property. Below is...

7 months ago | 0

Answered
how to change order of legends?
Three ways to change the order of items in the legend I'll review two ways to flexibly set the legend's order and one way to re...

9 months ago | 2

| accepted

Answered
Order of legends in stacked bar plot
Starting in 23b, legend has a 'Direction' property which allows you to reverse the entries of a legend. There is an additional f...

1 year ago | 1

| accepted

Answered
Highlight the region of plot or find some reliable and proper evaluation for the plot
If you'd like to highlight a region of the line chart, starting in R2023a you can use the xregion and yregion functions: ydata...

1 year ago | 1

| accepted

Submitted


Bullet Chart
A bullet chart is a variation of bar chart which is used to show expected values against actual values.

3 years ago | 2 downloads |

Thumbnail

Answered
Instead of Hebrew characters I can see only gibberish
MATLAB writes its .m files in ASCII encoding, meaning that any non-ASCII encoded characters are replaced with the character '?'....

7 years ago | 0

Answered
How can I change the linewidth on some, not all, grid lines in heatmap images?
There is currently no programmatic way to change the linewidth of a HeatMap. As a workaround to this, you can interactively add ...

7 years ago | 0

Answered
How do you calculate the radius in a 3D tubular structure?
Given that every point on the branch has a cross section that can be measured, I would suggest using the 'slice' function: h...

7 years ago | 0

Answered
GUIDE UI object positions change between retina display and windows
When interchanging the units of graphics objects in MATLAB, the way the figure appears in one environment may be drastically dif...

7 years ago | 0

Answered
GUI Button Groups and Panel Containers Cause Cross Platform Issues?
When interchanging the units of graphics objects in MATLAB, the way the figure appears in one environment may be drastically dif...

7 years ago | 0

Answered
Find block of minimum distance between values
You can use the kmeans clustering in order to group sets of similar temperature values together. Finding the right k clusters to...

7 years ago | 0

Answered
How can I make the weighted edges more distinct?
While you are right that is a cool looking graph it appears to be extremely dense which is why it is hard to read any of the val...

7 years ago | 2

| accepted

Answered
Using a slider to control a video while it's playing?
It seems that moving the slider while pausing functions fine so what you can do is add two listeners to your slider. The preset ...

7 years ago | 0

Answered
HOW CAN I CREATE A 3X3 PATCH IN AN IMAGE AND ALSO TAKE THE CENTRE PIXEL FROM ITS EIGHT NEIGHBORHOOD
An image functions as a 3 dimensional matrix and in order to index a 3x3 matrix out of an image, you can do the following: ...

7 years ago | 0

Answered
Why my biplot shows opposite values in component 1?
As you mentioned, this effect does not change the relative correlation between all variables and this is expected behavior. The ...

7 years ago | 0

| accepted

Answered
AppDesigner Spinner with non-integer stepsize
Your workflow is reasonable and it should work. Currently, those options are under the "Design View". In order to change the ste...

7 years ago | 2

| accepted

Answered
After closing video GUI, the sound keeps playing
Depending on how the video is being played, you should delete the video object in the callback function for the GUI being closed...

7 years ago | 0

Answered
How can I plot a custom pattern in a subplot?
You can reproduce the issue by running the following. If you set a break point on the last line, you will see the subplot disapp...

7 years ago | 0

| accepted