Questions tagged [linestyle]

Use for questions regarding the styling of lines (color, width, markers etc.) in plots. Commonly appearing in the context of MATLAB/Octave, gnuplot, matplotlib.

References for various languages:

  • MATLAB: 1, 2, 3.
  • Octave: 1.
  • gnuplot: 1, 2.
  • matplotlib: 1.
81 questions
0
votes
1 answer

ActionScript lineStyle Thickness to fill a circle

I'm trying to build a circle using lines. Each line starts in the center of the circle and is as long as the circle's radius. Using a loop along with sine and cosign waves, I can build the circle using the sine and cosign to mark the coordinates…
Chunky Chunk
  • 16,553
  • 15
  • 84
  • 162
0
votes
1 answer

Matlab graph linetype

I wrote the code below to plot 3 normal distributions with diferent line styles. x = 20:0.0001:30; m1 = 30; s1 = 5; pdfNormal_1 = normpdf(x, m1, s1); m2 = 15; s2 = 2; pdfNormal_2 = normpdf(x, m2, s2); m3 = 18; s3 = 3; pdfNormal_3 = normpdf(x, m3,…
user3641311
  • 175
  • 2
  • 11
0
votes
1 answer

cycling through list of linestyles when plotting columns of a matrix in matplotlib

I am probably missing something obvious. I'm plotting the data contained in the columns of a matrix in a single call using plot(x,A) where is x is a 1D numpy arange with a length equal to the number of rows of A. The lineplots this generates are…
0
votes
1 answer

Is there a way to change the line ending style in Sublime Text 2?

Is there a setting for this? Sublime Text to autocompletes braces (curly brackets) using the end-of-the line style. Convention at work is to use beginning-of-the-line (or Allman) style. Is this configurable?
rstackhouse
  • 2,238
  • 24
  • 28
0
votes
1 answer

lineStyle() inside for loop produces disconnected angles

Here is my code (condensed to the function in question): public function redrawNewShape() { var tempAX:Number; var tempAY:Number; var tempBX:Number; var tempBY:Number; var tempLineThickness:Number; var…
-1
votes
2 answers

Specify the linetype for one line in a multiline plot

I'd like to plot a dataframe using standard linestyles and colors for all columns except 1. I would always like my column labeled 'Target' to have linestyle='-.' and be black. I can do this in the plot, but the legend doesn't seem to accept the…
derekboase
  • 56
  • 6
1 2 3 4 5
6