Questions tagged [line]

The shortest distance between two points. Or, a row of characters in text output.

is mostly used in below context:

  • text line or command line in text processing context;
  • line drawing or plotting in visualization or image-processing context
  • analytic geometry

For the LINE-API / LIFF use line-api or line-messenger

6255 questions
2
votes
2 answers

how do i delete a line that contains a certain string?

What I am trying to do here is : 1.read lines from a text file. 2.find lines that contain certain string. 3.delete that line and write the result in a new text file. For instance, if I have a text like this: Starting text How are you? Nice to meet…
H.Choi
  • 3,095
  • 7
  • 26
  • 24
2
votes
4 answers

Perl, delete everything after first three characters

I promise you all I've searched the site for about two hours now. I've found several that should have worked, but they didn't. I have a line that consists of a varying amount of numbers separated by spaces. I want to delete everything after the…
caleb.breckon
  • 1,336
  • 18
  • 42
2
votes
2 answers

My activity is not showing line

I write the following code, but the output shows nothing. No any exception throws and also no line is drawing with this code. Please help me where I am wrong??? Main Class @Override public void onCreate(Bundle savedInstanceState) { …
mohsin.mr
  • 498
  • 1
  • 6
  • 21
2
votes
3 answers

Is there a better way to toggle commented code?

If I have two chunks of code and I want to toggle between them (say, for testing purposes), I've realized you can use a comment like this: //* //*/ /* //*/ Then to switch between…
WOUNDEDStevenJones
  • 5,150
  • 6
  • 41
  • 53
2
votes
1 answer

Decoding gcc specs file line

I have a problem with the implicit LIBRARY_PATH modification of g++ between two versions (g++ -v gives this info). I set the LIBRARY_PATH to a single local directory where I have custom libraries. However, it turned out that only one version of the…
Shadow
  • 1,042
  • 2
  • 15
  • 23
2
votes
2 answers

SSRS 2008R2. Chart lines don't use anti-aliasing

I created a report with the line chart in the VS 2008 When I design and render report in the VS - the lines edge look to be good, smoothed. But as soon I deploy report to the Reporting Service and render it via the Report Manager (or by using Report…
Stalker
  • 23
  • 3
2
votes
1 answer

Does 3D point lies between 2 3D points

I just wonder how can I determine if a given 3D point lies on a line given by 2 points, and ALSO it lies between those 2 points?
dummy
  • 63
  • 9
2
votes
3 answers

MATLAB animate line plots from data

I have 30 experimental trials that I logged on a DAQ and I read these in to MATLAB using xlsread. I have a plot now where I show all 30 trials on one figure. What I want to do is create a movie where it shows them plotting one by one. Really I have…
user1412994
  • 35
  • 1
  • 2
  • 9
2
votes
2 answers

Awk efficiently print a matching line from a matching paragraph

I want to write an efficient awk script that will take a file similar to the excerpt shown below and print a certain line (for instance, the line beginning with "Time (UTC):") from each matching record. I believe there's a better way than what I've…
Rusty Lemur
  • 1,697
  • 1
  • 21
  • 54
2
votes
2 answers

Show/Hide a single Line element of a series on Ext JS 4

I'm pretty new on Ext JS 4 and I have the following question: How can I Show/Hide a single Line element of a series? I have this code: Code: Ext.require('Ext.chart.*'); Ext.require(['Ext.Window', 'Ext.fx.target.Sprite', 'Ext.layout.container.Fit',…
2
votes
2 answers

Repeat a vertical line on every page in Report Builder / SSRS

I wish to include a vertical line on every page of my report, which runs from the top to bottom of the report body. How can I achieve this? I've tried using RepeatWith, but it doesn't seem to work, the line appears only on the first page. Thanks
yomayne
  • 111
  • 2
  • 4
  • 11
2
votes
2 answers

printing dynamically string in one line in python

I'm trying to print strings in one line. I've found solutions but they don't works with windows correctly. I have text file contains names and I want to print them like this name=john then change john to next name and keep name=, I've made this…
Hamoudaq
  • 1,490
  • 4
  • 23
  • 42
2
votes
1 answer

White line In Google Chrome?

I am designing a website for a friend and when she visits the website she insists that she is seeing a white line at the top of the page. I have been trying to reproduce this white line and I have been unsuccessful. I have looked at the background…
SameOldNick
  • 2,397
  • 24
  • 33
2
votes
1 answer

How to draw straight lines by touch in iphone using a UItouch or Rubber band style drawing

I am new to iPhone development, I am making an application in which i am trying to make a line that is straight so that it doesn't has any irregular curves it must be smooth I have used core graphics but it doesn't seem to be working. Screen shot I…
Deepranshu
  • 69
  • 1
  • 8
2
votes
1 answer

Java - Point on line

How can i find out if a Point(x,y) is on a the Line created between two other Points? I tried this but something seems to be wrong, as i don't get the results i should. public boolean intersects(Point k, Point z, Point p) { Line2D line =…
Christos Baziotis
  • 5,845
  • 16
  • 59
  • 80
1 2 3
99
100