About 96,700 results
Open links in new tab
  1. plot - Matlab only has 4 line styles? - Stack Overflow

    Jan 24, 2015 · A couple of workarounds are: (i) plot one line with a given style, then plot the same "downsampled" line with a specific marker (and no line at all example). (ii) instead of a legend, …

  2. How to plot multiple lines with different markers - Stack Overflow

    Aug 25, 2015 · I would like to plot multiple lines with MATLAB and do it so, that markers would be different in every line. I know that with colours this would be achieved with ColorSet = hsv(12);.

  3. plot - More line styles in Matlab - without markers? - Stack Overflow

    Mar 14, 2022 · 1 There are only 4 line styles, and realistically that's probably a reasonable limit in terms of legibility. But there are lots of marker styles, why not make your own "lines" by …

  4. How do I set the default linestyle for plots in MATLAB?

    Nov 25, 2010 · For this example I would like the 8-10th lines to have a different line style. I can do it manually but I'd like Matlab to do it for me if I can set a default option somewhere.

  5. matlab - How to change line and marker style in a legend

    Apr 29, 2025 · The plot looks like this: In the legend, I want Line1 style to be 'b.-', Line2 style to be 'r-o' and Line3 style to be 'g-o'. Is there a way to define a legend with a set number of labels …

  6. MATLAB: Changing the line properties of a loaded figure?

    Feb 17, 2012 · I've got a very simple question, for MATLAB users: If I load a figure file (.fig) with the load command, is there any way to change the plotted lines properties from the command …

  7. MATLAB: set line's color and style order to be applied in parallel

    Aug 13, 2015 · 6 When you set DefaultAxesColorOrder and DefaultAxesLineStyleOrder MATLAB will first cycle through all colors with the first style, then again through all colors with the …

  8. How do I pass an array of line specifications or styles to plot?

    Oct 16, 2016 · These structures are usually really big, so manually splitting them up into separate arguments into plot() isn't really practical for me. Is there a way of passing in some sort of cell …

  9. matlab - Plotting issues with dash-dot and dotted lines: How to …

    Plotting issues with dash-dot and dotted lines: How to modify default linestyles for better use with vector renderer 'painters'?

  10. matlab - How to have diferent markers and line styles while …

    Sep 2, 2022 · 0 How can I have diferent markers or line styles when I am plotting same variable from 8 diferent data files in one figure? I have got my code that reads multiple excel files and it …