답변 있음
How change space between subplot and include colobar out axis?
Hi @Guilherme Weber Sampaio de Melo, I would recommend you take a look at this MATLAB Answers discussion for some ideas about a...

10개월 전 | 0

답변 있음
How to have a user select a file from a directory and then matlab automatically go into that folder and pull multiple files with the same name
You can use the uigetdir function to prompt the user to select a file directory, and then you can use the dir function to get a ...

10개월 전 | 0

답변 있음
change tickness and font in table
Hi @aldo, 1) Unfortunately, no, I don't think it's possible to change the width of the vertical lines in a table. 2) It is pos...

10개월 전 | 0

답변 있음
Trying to manually set rgb values of cells equal to 0 on contourf figure
Hi @Christian, I don't know if you are still active, but there is an easy way to do this, as long as your data does not already...

10개월 전 | 0

답변 있음
Geoshow with MLT instead of longitude
This does not completely resolve your problem, but it may be helpful to get you started: % Load your data all_data = load('str...

10개월 전 | 0

| 수락됨

답변 있음
MATLAB figure with transparent background into Google Slides
This answer is an update to my previous comment with better instructions: If all you need to do is create a MATLAB figure with ...

10개월 전 | 0

| 수락됨

답변 있음
I can only publish half of my script
It may be an issue with your browser. I just tried publishing your code to a PDF using Microsoft Edge and it seems to have work...

10개월 전 | 0

답변 있음
Plot 2D vector in AppDesigner
I could not get the vplot function to work, but there is always quiver. For instance, if you add a button to your app and give ...

10개월 전 | 0

답변 있음
How can I return a value from an excel spreadsheet based on multiple user input variables?
Here is an example of how you can ask the user to select from a list of ingredients rather type the ingredient names manually: ...

10개월 전 | 0

답변 있음
Create plot with gradient descend vectors for function of 2 variables
My apologies for the double-response. I accidentally answered your question as a comment rather than as an answer. If I am unde...

10개월 전 | 0

답변 있음
An automatic way to change \ with / (windows vs. unix) only for "addpath"?
file_name = '/Users/XXX/Documents/...'; file_name = strrep(file_name,'/','\'); addpath(file_name) EDIT: Just to explain, I am...

10개월 전 | 1

답변 있음
how to xlimit for 3 different plot in 1 figure?
% Example plot subplot(3,1,1) plot(rand(10,10)) subplot(3,1,2) plot(rand(10,10)) subplot(3,1,3) plot(rand(10,1...

10개월 전 | 0

답변 있음
I have "step" data and I want value only on the steps
If you want to count each step as being any increase from the previous value then this is what you want: locs= []; for i = 2:l...

10개월 전 | 0

답변 있음
Why do I get "Array indices must be positive integers or logical values" when I am trying to plot my functions?
In MATLAB, indexing starts at 1, so you cannot have C(0), i(0), or y(0). Rather, it needs to be C(1), i(1), or y(1). EDIT: @Ma...

10개월 전 | 1

답변 있음
Handling Undesirable Characters in Numeric Columns When Reading a CSV File
If you have Microsoft Excel (or Google Sheets) you can use the Replace Tool to get rid of the [u.] in all of the columns. Simply...

10개월 전 | 0

답변 있음
Problem with saving surf plot in vector format
It is odd, but even though MATLAB allows you to save plots as SVG files I am not certain that it allows you to import SVG files....

10개월 전 | 0

답변 있음
Boxplot with equal spaced interval?
Are you asking for something like this? % Fake data xdata = 1:200; ydata = randn(30,200); % Extract every tenth column id...

10개월 전 | 0

| 수락됨

답변 있음
How can i make the legend as shown in the figure attached?
Generating some example data (use your actual data instead of this) % Generating fake experimental data since I don't have your...

10개월 전 | 1

| 수락됨

답변 있음
heatmap NaN Color replacement BUG
Instead of using the NanColor name-value pair (which I don't even see in the documentation?), you can try saving the plot to an ...

10개월 전 | 0

| 수락됨

질문


Is there a better way to plot categorical data radially than using the polarhistogram function?
It is easy to plot categorical data with the histogram function: authors = categorical({'Austen','Bradbury','Brown','Brown','Br...

11개월 전 | 답변 수: 1 | 0

1

답변

질문


How to fully display y-axis labels if they do not fit inside of the figure window when specifying a figure size and using subsubplot?
I am using the subsubplot function from the Climate Data Toolbox to make a figure that is 3 inches wide by 4 inches tall, but th...

대략 1년 전 | 답변 수: 1 | 0

1

답변

질문


How to efficiently extract 2-D data from multiple text files and save it as a single 3-D variable?
I have 456 comma-delimited text files. Each file represents one month of climate data, containing 600 rows and 900 columns. I w...

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to test whether two arrays are statistically different?
This may be a silly question, but I don't have much of a background in statistics and I want to make sure I do this properly. I...

2년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Need assistance properly plotting a 3D variable from a NetCDF (.nc) file.
I want to spatially show the evapotranspiration data contained within a NetCDF file, but almost all of the values appear the sam...

거의 3년 전 | 답변 수: 1 | 0

1

답변

질문


Why does polyfit/polyval not work for fitting a 2nd degree polynomial to my dataset?
I am trying a fit a 2nd degree polynomial to my data, but it is not working the way I expected it to. What might I be doing wro...

거의 3년 전 | 답변 수: 1 | 0

1

답변

답변 있음
How can I extract the 'missing_value' from a variable in a NetCDF file?
Actually, it looks like I figured it out for myself! % Get structure of .nc file data info = ncinfo(filename); % Extract mi...

거의 3년 전 | 0

| 수락됨

질문


How can I extract the 'missing_value' from a variable in a NetCDF file?
I have a NetCDF (.nc) file containing evapotranspiration data. I want to extract the value from the 'missing_value' field in ev...

거의 3년 전 | 답변 수: 1 | 0

1

답변

질문


How can I overlay a shapefile onto a geoscatter plot?
I am plotting radiocarbon data for the U.S. state of Ohio using the geoscatter() function: geoscatter(radio.Latitude,radio.Long...

대략 3년 전 | 답변 수: 1 | 0

1

답변

질문


How to find correlations between a vector and a 3D array and plot the correlations spatially?
How can I calculate correlations between a vector of isotope data from a single location and a spatial array of precipiation dat...

대략 3년 전 | 답변 수: 1 | 0

1

답변