6,247 questions
            
            
            -4
            votes
        
        
            0
            answers
        
        
            32
            views
        
    Change contours into straight lines
                Image
I have a problem with detected contours. The contours are as in the attached photo. I would like to remove all the inscriptions from them (connect the broken lines in these places) and align ...
            
        
       
    
            2
            votes
        
        
            2
            answers
        
        
            44
            views
        
    How to add labels to 3d plot
                I have the following code which generates a 3D plot. I am trying to label the plot lines, but they are not ending up where I expect them.
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d ...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            17
            views
        
    Plotting points on a line and assigning coordinates?
                I have a picture of a line that I want to trace and plot points across evenly like this.
I've been searching forever but haven't found out how I can:
plot points across a picture of a line
assign ...
            
        
       
    
            1
            vote
        
        
            1
            answer
        
        
            45
            views
        
    Annotations on ChartJs shows on top of the plots when opaque is one
                I'm trying to use ChartJS, this is what I get when using annotations plugin with opacity = 0.5
box1: {
    type: "box",
    drawTime: "afterDraw",
    yMin: 22,
    yMax: 40,
    ...
            
        
       
    
            -4
            votes
        
        
            1
            answer
        
        
            39
            views
        
    Swap 2 lines in text file using assembler
                this is my code for swapping 2 lines in DosBox assembly. I can not find out why is it printing the same thing from input.txt to out.txt. I think the problem is with line numbers (and user input). ...
            
        
       
    
            0
            votes
        
        
            1
            answer
        
        
            36
            views
        
    How can I connect two groups of lines in ggplot2, when one group is a single black line and the other group is multiple coloured lines?
                I am trying to create a plot that looks like this (mockup in Powerpoint):
Unfortunately, I can only manage to get this (A):
Or this (B):
Or this (C):
What I've tried:
   data < - examp = ...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            66
            views
        
    Issues with using * in command line in windows [duplicate]
                I was trying to solve the reverse polish calculator problem where the arguments can be entered on the command line. I am facing a peculiar problem. The program name is rpc.exe
A command line entry as ...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            32
            views
        
    How to change auth persistence time in line liff
                everyone.
I'm working on an asp.net core project integrated with Line LIFF(Line Front-end Framework).
And I want to change the authentication persistence time longer.
But I can't find the right ...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            36
            views
        
    How can I connect all points in a graph with a line given that there are some missing ("NA) values? [duplicate]
                I have two dependent variables that I am plotting with respect to my independent variable. One of the dependent variable has several missing values. Here's the data
dataset "test"
X
A
B
0....
            
        
       
    
            1
            vote
        
        
            1
            answer
        
        
            39
            views
        
    Can you change the line ending on p5js
                Im working on a project were I need to draw some thick lines. I noticed that by default p5js lines are rounded at the ends. Is there a way to change this behavior?
strokeWeight(50);
line(150,150,300,...
            
        
       
    
            1
            vote
        
        
            2
            answers
        
        
            55
            views
        
    How to specify color with geom_line, geom_point, and annotate in ggplot2?
                I'm trying to modify Jeff Lewis (2023-10-23) Polarization in Congress, and I cannot control the color in geom_line and geom_point.
The following seems to be the closest I've come to what I want with a ...
            
        
       
    
            1
            vote
        
        
            0
            answers
        
        
            42
            views
        
    LINE Messaging API Webhook stuck in "standby" mode despite being set to "active"
                I'm currently facing an issue with my LINE Messaging API webhook being stuck in "standby" mode even though it's set to "active" in the LINE Console and through the Messaging API.
...
            
        
       
    
            1
            vote
        
        
            1
            answer
        
        
            99
            views
        
    C Programming language ansi c edition line counter [duplicate]
                I have the following code from Kernighan & Ritchie's book:
#include <stdio.h>
int main() {
    int c, nl;
    nl = 0;
    while((c = getchar()) != EOF)
        if (c == '\n')
            ++...
            
        
       
    
            1
            vote
        
        
            0
            answers
        
        
            104
            views
        
    How to use OpenGL3 + (VAO, VBO) to draw lines with mouse click?
                I'm trying to use glfw+glad to draw lines with mouse click input coordinates. At first i tried to use glBegin, glVertex2f but they seems to be no longer supported in OpenGL3+. So i tried to use VAO, ...
            
        
       
    
            0
            votes
        
        
            1
            answer
        
        
            38
            views
        
    Fix csv line splitting
                I have a csv file data like below with nearly 1 million records
sno, name, address, mobile
1,  shekar, hyderabad, 651584651
2, naveen, ban
galore, 61353384
3, eeshwar, warangal, 65133133
What I want ...
            
        
       
    
            0
            votes
        
        
            1
            answer
        
        
            80
            views
        
    Implementation of 3D line clipping (Cohen-Sutherland clipping algorithm) - Stuck in infinite loop
                I have followed instructions from Cohen–Sutherland algorithm to implement this.
Normally clipping algorithm works just fine. But sometimes it get stuck in infinite loop with some lines while clipping ...
            
        
       
    
            2
            votes
        
        
            2
            answers
        
        
            76
            views
        
    Sequence color blocks inside ggplot2 plot area at specific coordinates
                I have a simple line plot where I show a DNA sequence on the x-axis, done in the following way with ggplot2:
myseq <- "AGAATATTATACATTCATCT"
set.seed(123)
mydata <- data.frame(time=1:...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            74
            views
        
    how to delete lines in python canvas one by one
                I would like to delete line one by one after created but only last line delete. Here is my code:
import os
from tkinter import *
os.system("cls||clear")
def on_click():
    global lines,...
            
        
       
    
            1
            vote
        
        
            0
            answers
        
        
            95
            views
        
    Django allauth social login issue
                I'm implementing social login using Facebook and LINE, but I'm facing a couple of issues:
Facebook Login Issue: After clicking the Facebook login button and entering the password to log in, the flow ...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            26
            views
        
    Integrate LINE authentication in ios app using cordova
                I want to integrate LINE authentication in my ios app which is build using cordova. I followed the actual documentation on LINE sdk page but no success.
can anyone tell me exact steps I need to follow ...
            
        
       
    
            1
            vote
        
        
            0
            answers
        
        
            50
            views
        
    Plotly line series animation: draw line continously instead of in steps?
                I'm trying to produce an animated chart that will draw a couple of time-based line series smoothly over time.
I've managed to animate the line series using graph_objects. However, instead of having ...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            48
            views
        
    How to get hexes on a line on hex grid but give 2 options when in middle of 2 hexes
                I think the title is pretty self-explanatory, but I will provide some extra info so you understand what I mean better.
Basically I have a hex grid, and am trying to get the hexes on a line from one ...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            21
            views
        
    adding line element between data points spss
                Per group (control, intervention) I have two measurements per case (before= left, after= right). Now I want to add a line between the repeated measurements per individual case to display the change ...
            
        
       
    
            0
            votes
        
        
            1
            answer
        
        
            64
            views
        
    Drawing iText7 Canvas lines does not always fill page
                I have the following code to apply a full page grid to an existing A4 pdf document.
It works fine on pdfs I or others have produced with iText, but when I try to use on a PDF that has been created by ...
            
        
       
    
            2
            votes
        
        
            1
            answer
        
        
            43
            views
        
    Remove gap in line plot in R [duplicate]
                Please help me plot a single line that changes from solid (measured) to dashed (estimate) after year 2008 and has a legend respectively. My code:
    date<-as.POSIXct(c("1981-01-01","...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            36
            views
        
    Creating smooth interactive line connections between DIVs in react
                I have a site where I build some different quizzes and I want user to be able to specify connections between Quiz A options with Quiz B. So it means that Quiz A contains options: Opt1, Opt2, Opt3 and ...
            
        
       
    
            0
            votes
        
        
            1
            answer
        
        
            27
            views
        
    line and tags/labels with plugin-annotation@3
                chartjs with annotation: multiple vertical lines at any x-position, with tags.
Example WORKS with 'https://cdn.jsdelivr.net/npm/chartjs-plugin-annotation@1'
however NOT with 'https://cdn.jsdelivr.net/...
            
        
       
    
            2
            votes
        
        
            1
            answer
        
        
            82
            views
        
    Apache POI Word - Line between columns
                I already have the columns created. I would like to put a line between them, as is possible in Word.
Line Between
How do I set it using Apache POI?
CTColumns coluna1 = sectPr.addNewCols();
coluna1....
            
        
       
    
            1
            vote
        
        
            1
            answer
        
        
            78
            views
        
    Is it correct and consistent to check two vertex points for equality?
                I am writing a Typescript game where there are vertexes drawn to a canvas, and some edges coming from them. I want to determine if some of edges from different vertexes intersect. For this, I am using ...
            
        
       
    
            0
            votes
        
        
            1
            answer
        
        
            219
            views
        
    My Line Chatbot by using llamaIndex TS agent cant remember previous question
                I created a LINE chatbot that uses the llamaindex typescript and it answers questions very well. and want to use an agent that can remember previous questions and can respond, which the agent can use ...
            
        
       
    
            -2
            votes
        
        
            2
            answers
        
        
            123
            views
        
    Keep most common line from each set of duplicates of a column
                I have a relatively complicated Bash problem. I have a two-column CSV file that contains duplicate values in the first column, as well as duplicates within those duplicate values (in the second column)...
            
        
       
    
            -1
            votes
        
        
            2
            answers
        
        
            248
            views
        
    Straighten a Polygon into a line with Geopandas/Shapely
                I'm using Python. geopandas and shapelly to process the geometries of a road intersection.
The geojson has a list of Polygons that I want to straighten into Lines, something like this:
Does anyone ...
            
        
       
    
            1
            vote
        
        
            2
            answers
        
        
            107
            views
        
    Is there a way to add vertical lines to histograms in R, where the line positions come from a separate data frame?
                I have a data frame, from which I created a "stats" data frame (mean, min, max, median, Q1, etc), then I made facet_wrap histograms. Now I want to add vertical lines in each histogram based ...
            
        
       
    
            1
            vote
        
        
            1
            answer
        
        
            28
            views
        
    Setting Order and spacing on X-Axis for Matplotlib chart
                I want to create a plot with a specific sequence of x-axis values "Time Interval" (0, 6, 24, 114, 228) while ensuring equal spacing between the ticks.
On using the "time" as int ...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            30
            views
        
    Building a line with D2D1
                I have a couple of points, who are the input for linear regression. LR outputs the parameters w and b, so that the ideal line is
y = wx+b.
I would like to depict that line in D2D1 with the following ...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            20
            views
        
    Set the line spacing between 2 lines iTextSharp
                I am using iTextSharp to generate pdf.  I have a table and need to add text in the table cell. I used Chunks & paragraph to add text in table. For new line I use \n in chunks. But the line spacing ...
            
        
       
    
            0
            votes
        
        
            1
            answer
        
        
            40
            views
        
    Unable to change pointBackgroundColor after initial configuration is done using Chart.js
                I am using Chart.js version 4.3.x. I am having issues creating different color points on a line graph. All the entries I see on StackOverflow are older versions. It's still listed in the API
I have ...
            
        
       
    
            -1
            votes
        
        
            1
            answer
        
        
            71
            views
        
    How to multiply lines from two different text files into one text file in Python?
                How to multiply lines from two different text files into one text file in Python?
file 1
file 2
zzzzzz
bbbbbb
aaaaaa
ffffff
nnnnnn
kkkkkk
I would like the result sequence to be as follows
| ...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            60
            views
        
    Determine start and end points of line from circle to rectangle
                I have a square DIV that contains a circle (a 1-pixel circumference with transparent centre) and a rectangular DIV that's filled with a rectangle (a 1-pixel perimeter with transparent centre.)
I need ...
            
        
       
    
            0
            votes
        
        
            1
            answer
        
        
            139
            views
        
    How to prevent squares from going back in line in Typst
                I want to make a progress bar for my resume, to show how competent I am in a skill, similar to how stars are displayed when grading a movie on a website. Ideally, I would also like them to be aligned ...
            
        
       
    
            0
            votes
        
        
            1
            answer
        
        
            43
            views
        
    In R, when missing values exist, how to draw line graphs? [duplicate]
                Here is one dataset.
df=tibble::tibble(
  treatment = rep(c("A", "B", "C"), each = 51L),
  day = rep(seq(0, 50, by = 1), 3),
  mean = rep(
    c(
      0, NA, 6.75, NA, ...
            
        
       
    
            1
            vote
        
        
            0
            answers
        
        
            96
            views
        
    OpenId Login with Firebase Authentication on mobile(iPhone) error
                I added Firebase Authentication on my Angular webapp, then I integrated Line Login into firebase authentication using OpenId Connect, it works great on PC browser, but when I login with Safari on my ...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            30
            views
        
    highcharts: show tooltip only when hovering over marker
                How to make a tooltip for a chart of LINE type displayed only when hovering over a marker (point) of this chart and not displayed when hovering over a curve between two neighbouring markers (points)?
...
            
        
       
    
            0
            votes
        
        
            2
            answers
        
        
            182
            views
        
    Line webhook not getting active programatically
                i am trying to add webhook to line programatically via channel access token. My code sets the webhook to line, but the webhook does gets enabled.
Below is my code for it:
async function setWebhook(...
            
        
       
    
            -1
            votes
        
        
            1
            answer
        
        
            275
            views
        
    How to show Text more, less for list view cell in SwiftUi
                code: with this code i am showing whole survey.description but i want initially description to be 2 lines but if i click on more it has to show remaining lines and need less if click on less it again ...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            38
            views
        
    Pinescript lines - Problem with scale / chart reset
                Sorry for my english, i just started to lern pine script I make an Indicator wir support and resistance lines with some help von AI.
It works good, but i have a Problem if i want to "Reset chart ...
            
        
       
    
            0
            votes
        
        
            1
            answer
        
        
            272
            views
        
    Draw a line in pinescript v5
                I wrote a code in pine script v5 for drawing a horizontal line from open of a Bullish engulfing candle to the right side for 100 candle but it should be stop drawing when a candle crossover or cross ...
            
        
       
    
            1
            vote
        
        
            1
            answer
        
        
            57
            views
        
    changes on several Series by vba in Excel Chart.Series.Format.Line.Weight do not reliably lead to change in Chart
                I tried to emulate a sankey chart with a line chart in excel 2021. (for having direct access to the Charts events i use a chart as Chartsheet) I have 36 lines within this chart and i use the Series....
            
        
       
    
            0
            votes
        
        
            2
            answers
        
        
            52
            views
        
    How to keep status changes in a txt file
                I have a text file 2024-04-29_22-23log.txt, where each line, (except the first), starts with OPEN or CLOSE, followed by a time stamp.
Example:
2024-04-29_22-23 
CLOSE 22:23 
CLOSE 22:24 
OPEN 22:25 
...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            37
            views
        
    Cohen–Sutherland algorithm
                in Cohen–Sutherland algorithm if p1 is in bottom and p2 is in right then the logical and operation between
right=0001, bottom=0100 is 0000 which says the line is inside the clip window when its ...