Community Profile

photo

Wolfgang McCormack


Last seen: meer dan een jaar ago Active since 2019

Statistics

  • Thankful Level 4

View badges

Content Feed

View by

Question


How to use the same color scheme but different FaceAlpha in bar graphs with hold on?
Hi everyone, I am having two sets of data. I am using bar command to plot them using hold on. However, I want my first bar gra...

meer dan 2 jaar ago | 1 answer | 0

1

answer

Question


How to create a stacked bar out of two separate bar charts (Datasets)?
Hi everyone, I have two 5x6 data available. At the moment, it is being plotted as the following but how can I make them stac...

meer dan 2 jaar ago | 1 answer | 0

1

answer

Question


How to make scientific notation appear next to each tick/label on axes instead of the top?
Hi everyone, I am having the following graph where scientific notation appears on the top. How can I make the notation to appe...

meer dan 2 jaar ago | 1 answer | 0

1

answer

Question


How to index/address the chart width and height using Position option in Text command?
Hi all, I have this line of code. Suppose I want to use text using half of width and height of my figure. How shouldI index/add...

bijna 3 jaar ago | 1 answer | 0

1

answer

Question


How to place percent of each bar/bin of histogram on histogram chart in the code below?
Hi all, I have a code like this. Could you guys please help me to plot the percent of total for each histogram bar exactly on t...

bijna 3 jaar ago | 2 answers | 0

2

answers

Question


How can we create poll-like plots with confidence intervals like the example attached?
Hi all, I have a quick question, does anyone know where we can start for this type of chart below? https://en.wikipedia.org/wi...

bijna 3 jaar ago | 1 answer | 0

1

answer

Question


Is there any option to run a polyfit on a scatter plot?
Hi all, I have a scatter plot and there are some dots on that. Is there any option to get the X and Y of those points on the sc...

bijna 3 jaar ago | 2 answers | 0

2

answers

Question


Is there any option to change the font size of figures in the entire MATLABfile?
Hi all, I have a MATLAB file with so many figures. Is there any way to insert a line of code at the begging to change the font ...

bijna 3 jaar ago | 1 answer | 0

1

answer

Question


How to use 'layout' in nexttile to make the legend appear in the sixth position in 6 tiled chart?
Hi all, if we have a 6 tiled chart. How do you use layout for legend to put the legend in the 6th tile? Thanks

bijna 3 jaar ago | 2 answers | 0

2

answers

Question


How to create corresponding equation in a column based on the value of previous column? (Similar to drag in Excel)
Hi all, Imagine we have a 1000 x 3 matrix named A. I want to have a specific equation such as A(1,1) * by EquationA if the val...

bijna 3 jaar ago | 1 answer | 0

1

answer

Question


How to turn all fives to ones in one column? (Questionnaires)
Hi all, Sometimes, there are reverse research questions in research studies. How can I turn all 5 to 1, 4 to 2, 3 remain the sa...

bijna 3 jaar ago | 1 answer | 0

1

answer

Question


How to add constant line y(50) to all plots of stackedplot?
Hi all, I am using stackedplot with 15 columns in a time table. How can I add a constant line of y(50) to all those 15 graphs ...

bijna 3 jaar ago | 1 answer | 0

1

answer

Question


How to extract all rows that only one columns has a value greater than?
Hi all, I have a quick question. I have A as a 5000 x 30 table. I want to to see which cells have a value greater than 50 and ...

bijna 3 jaar ago | 3 answers | 0

3

answers

Question


How to create a histogram for 12 months using a time table?
Hi all, I have a time table with 365 days (hourly). I want to create a histogram which shows how many values above 50 exists in...

bijna 3 jaar ago | 1 answer | 0

1

answer

Question


How to turn an adjacency matrix into a graph of cubes?
Hi all, How can I turn the adjacency matrix into a graph of cubes like this? Also, I create my adjacency matrixes in Excel, do ...

bijna 3 jaar ago | 1 answer | 0

1

answer

Question


How to calculate the area between two curves separately based on being below or above.
Hi Alll how can I seperate calculate all the area difference when the orange line is below the black line and vice versa. In ot...

bijna 3 jaar ago | 1 answer | 0

1

answer

Question


How to know which loop is being calculated?
Hi all, I have a k = 1:100 and j = 1:500 where the second one is loop within the first loop. How can I find out which loop is b...

bijna 3 jaar ago | 3 answers | 0

3

answers

Question


How to make a odd number plot look aligned using subplot or tiledlayout?
Hi all, I want my figures to appear this way using subplot or tiledlayout. Please help me to get it done.

bijna 3 jaar ago | 1 answer | 0

1

answer

Question


How to change the color of a stacked bar?
Hi all, I have a stacked bar that has a legend but I don't like the way colors are represting it. I want the orange color be t...

bijna 3 jaar ago | 1 answer | 0

1

answer

Question


How to select a repetitive range?
Hi all, I have a data from 1 to 8760 representing the hours of the year. I want to select for instance 11 to 17 and repeat it...

bijna 3 jaar ago | 1 answer | 0

1

answer

Question


Is it possible to code something like a genetic algorithm for 2 columns in an excel file?
Hi all, I have a question. I have two columns in an excel file each having 100 values. Do you think or is there any thing that o...

ongeveer 3 jaar ago | 0 answers | 0

0

answers

Question


How to skim through a word file for Figures 1 to 10 and copy the figure to MATLAB and save it and its caption as a separate file for each figure?
Hi all, As I am really enjoying MATLAB, I have a question that might save a me great deal of time. I have a word document that ...

ongeveer 3 jaar ago | 0 answers | 0

0

answers

Question


How to keep rows including a specific name in structure and remove everything else within the structure?
Hi all, I have a shape file (shp) that is read as a structure within MATLAB. It is a 2540x1 struc in the worksapce. One of its ...

ongeveer 3 jaar ago | 1 answer | 0

1

answer

Question


How to change the shp files for worldmap and geoshow?
Hi all, I want to add some of my cities the worldmap function which uses geoshow('worldcities.shp', 'Marker', '.'). Where can I ...

ongeveer 3 jaar ago | 0 answers | 0

0

answers

Question


Why isn't this value being saved using ismember and round?
Hi all, I have the following code and it almost works for all my values except two. Nothing being saved in Xsaved AllRatio...

ongeveer 3 jaar ago | 1 answer | 0

1

answer

Question


how to pick the closest value to a point using ismember or anything else?
Hi all, I have the following code, my problem is that multiple values that result in the output (CurRatio) fall within my spec...

ongeveer 3 jaar ago | 1 answer | 0

1

answer

Question


How to index for saving an output of a for loop for each loop?
Hi all, I have the following code and I want to save the output but how? for i = 0.1:0.1:0.7 'Calculating somestuff he...

ongeveer 3 jaar ago | 1 answer | 0

1

answer

Answered
How to plot a tiled layout using a loop?
Hey Adam, @Adam Danz I saw your answer on this post: https://www.mathworks.com/matlabcentral/answers/6881-legend-in-subplot ...

ongeveer 3 jaar ago | 0

Question


How to plot a tiled layout using a loop?
Hi guys, I have bunch of excel files that almost everything in them is similar. All I want is creating a loop instead of coding ...

ongeveer 3 jaar ago | 3 answers | 0

3

answers

Question


How can I concatenate a row vertically every 5 cells?
Hi all, if A is an array 1 x 100, how can I turn it into an array of 10x10 or 20 x 5? Thanks

ongeveer 3 jaar ago | 1 answer | 0

1

answer

Load more