Top "Line" questions

The shortest distance between two points.

Delete to end of line after a match, keep lines not matched

I have a file of the following form: interesting text-MIB blah blah blah VERY INTERESTING TEXT interesting text-MIB blah blah …

sed line string-matching
Disable warning in IntelliJ for one line

I have a Java code line where IntelliJ displays a warning. How do I silence the warning in that particular …

java intellij-idea warnings line
Drawing top border on a shape on Android

I'm creating a custom progress bar (positioned under a WebView) and what I would like to draw is a 1dp-wide …

android progress-bar line border shape
R - new line in paste() function

How can we insert a new line when using the function paste() or any function that concatenates strings in R? …

r line newline paste
How to add a diagonal line to a plot?

I want to add a diagonal line to the plot. It is not a linear regression line. I just want …

r ggplot2 line scatter-plot
Draw a line in a JPanel with button click in Java

I want to draw a line in a JPanel. This is my GUI and I want a line in the …

java swing graphics line jpanel
How to make a dashed line in swift?

I want to know how to make a dashed line in swift like this: - - - - - - …

ios iphone swift core-graphics line
CSS fade out horizontal rule / line styled div effect without images

I'm a big fan of minimal use of images and was wondering if anyone had a tactic (or if it's …

css line shadow shapes fadeout
Drawing Multiple Lines in D3.js

Up until now, I've been using loops to add line elements to a D3 visualization, but this doesn't seem in …

d3.js line
connecting points with lines in ggplot2 in r

Here is my data: mydata <- data.frame (grp = c( 1, 1, 1, 1, 1, 1, 1, 1, 1, 2,2, 2, 2,2, 2, 2, 2, 2), grp1 = c("A", "A", "A", "A", "A", "B", "B", "…

r ggplot2 line scatter-plot segment