Respondida
I want to change the background value of figure to white.
Set the figure's color using the figure's Color property. set(gcf,'Color','white') Or set the color upon creation of the figur...

más de 1 año hace | 1

| aceptada

Publicado


Plotting a New Course: A Grown-Up compassplot
Guest Writer: Abby Skofield Today's R2024b feature highlight is written by Abby Skofield, a developer on the...

más de 1 año hace

Thumbnail

Respondida
How to add a 2D plot to an existing 3D plot by sharing the same axes?
This is challenging. The reason it's challenging is because camera properties are set relative to a point in an axes, not relat...

más de 1 año hace | 3

| aceptada

Publicado


R2024b release: What’s new in Graphics and App Building?
Two of my favorite times of the year are September and March, when the landscape transforms beautifully in my area of the...

más de 1 año hace

Thumbnail

Respondida
first time use Histogram, need help
In MATLAB, I recommend using the histogram function. histogram('Categories',Categories,'BinCounts',counts) x = reshape([0.29:0...

más de 1 año hace | 1

Respondida
Add title to one row of a subplot
Instead of using subplot, I recommend using tiledlayout which supports nested layouts and global titles. Follow these instructi...

más de 1 año hace | 0

Respondida
dock graphics window size
To set an existing figure's position back to the factory default, set(fig,'Position','factory') Note that set() must be used ...

más de 1 año hace | 0

Respondida
Why is my Mixed ANOVA including the intercept as an interaction term?
You can remove the interaction term by including "-1" in the model spec (doc). I also included terms for Congruency and Target i...

más de 1 año hace | 1

Respondida
Variables window doesn't work after undocking in R2023b
Hi Kim, please contact tech support and include your instructions above how to reproduce the problem.

más de 1 año hace | 0

| aceptada

Respondida
exportgraphics causing strange messages in terminal only for Compiled version of App
This issue was fixed in R2024a. The problem occurred when setting append to true in exportgraphics.

más de 1 año hace | 2

| aceptada

Respondida
Fix to frequent "Application not responding" for MATLAB on the Mac
Thank you for sharing your experience, @Daniel Dolan and others. I've consulted with MathWorks developers who work on this infr...

más de 1 año hace | 1

Respondida
Return cursor to commandline after plotting
I'm familiar with this issue. Please consider reporting your thoughts on the matter to Tech Support. The best way to do that is...

más de 1 año hace | 0

| aceptada

Respondida
When will the transition from Java to Javascript be complete?
Thanks for your questions and curiosity about the JavaScript transition. I highly recommend that you try out the beta version of...

más de 1 año hace | 4

| aceptada

Respondida
Vertical blank space in tiledlayout compact
> As you can see there is some vertical unnecessary space between the two horizontal stacks of plots. I would like to reduce it ...

más de 1 año hace | 1

Respondida
How to get "Clean" edges on a surface plot?
Conversion from 3D scatter points to a surface is not straightforward. Here, I'm using Delaunay triangulation to create a mesh ...

más de 1 año hace | 0

| aceptada

Respondida
How to get "Clean" edges on a surface plot?
Use convhull to enclose the polyton and trisurf to plot the results. Code from OP GS = [0,0 0.225,2.35 1.325,5.525 ...

más de 1 año hace | 0

Respondida
Plotting two surface plots in the same figure using two different colormaps
Assign two surface objects two different colormaps using Truecolor arrays The recommended approach is to create an overlayed ax...

más de 1 año hace | 2

Respondida
changing font size in all the elements of figures
Starting in MATAB R2022a you can use the fontsize command. For example, to set the fontsize to 15 points for all* text in a fi...

más de 1 año hace | 1

Respondida
How to change the size of heatmap axis labels
How to independently change fontsize of tick labels and axis labels in heatmap Heatmap's FontSize property sets the font size f...

más de 1 año hace | 0

Publicado


Creating a Flight Tracking Dashboard, Part 2: Developing an Aircraft Chart
Guest Writer: Ken Deeley Ken is an application engineer in Cambridge, UK, supporting MathWorks users with their technical...

más de 1 año hace

Thumbnail

Respondida
Invalid Parameter Name: EdgeColor
Thanks for sharing this. This is a bug that was fixed in MATLAB R2024a Update 5, released on 12 July 2024. hist3(X,[250 250],...

más de 1 año hace | 3

| aceptada

Publicado


Animating Science: Creating Time-Sensitive Animations with MATLAB
Guest Writer: Gianluca Carnielli Gianluca is an application engineer at MathWorks based in Italy. While he supports MATLAB...

más de 1 año hace

Thumbnail

Respondida
How do you set the Layout Option at construction for ui objects?
See David's answer in the thread below for a one-liner solution: https://www.mathworks.com/matlabcentral/answers/1977184-can-yo...

más de 1 año hace | 0

| aceptada

Respondida
Change the background colour gradient.
The axes color property can only be set to one solid color. A workaround is to plot a patch with interpolated colors and to s...

más de 1 año hace | 1

| aceptada

Respondida
loop plot add text to only one specific plot year
I recommend using xregion (requires R2023a or later) or xline (requires R2018b or later). With xline you can also include a tex...

más de 1 año hace | 0

Respondida
How to remove decimal points in the Workspace
See format to set output display format. format shortg or if you always want 2 decimal places, format bank See full list o...

más de 1 año hace | 0

Respondida
Simple turn on Lamp with switch in app designer
The problem is that the values the switch returns are On and Off with capital letters. Your string comparison is case sensitive...

más de 1 año hace | 0

Respondida
Passing output from a ButtonDownFcn callback function
Callback functions do not have outputs or a clear workspace where the outputs would live. Instead, within a callback function y...

más de 1 año hace | 0

Respondida
X-Axis Boxplot Shift
This demo plots the boxchart first and then plots the jittered scatter next to the boxes. This differs from the original request...

más de 1 año hace | 0

Respondida
Text inside the meshgrid
The problem: the initial image it not fully displayed in the figure Below is the section of code that creates the axes where th...

más de 1 año hace | 1

| aceptada

Cargar más