Joining the dots

Post questions on how to use or achieve an effect in Inkscape.
covertboblerg
Posts: 5
Joined: Sat Feb 02, 2013 12:10 pm

Joining the dots

Postby covertboblerg » Mon May 12, 2014 8:03 am

I'm looking for the best way to join a series of dots to form a curve. I realize there are probably many ways of doing this but I'm looking for the best way to do so in the attached svg. I would like to join the dots in the 'obvious' order so each dot is joined to its neighbor, forming a curve.
Attachments
dots.svg
(5.75 KiB) Downloaded 165 times

User avatar
ragstian
Posts: 1181
Joined: Thu Oct 11, 2012 2:44 am
Location: Stavanger-Norway

Re: Joining the dots

Postby ragstian » Mon May 12, 2014 9:01 am

Hi

For this plot the fastest method is to draw a line manually 'connecting the dots;.

First select all; CTRL + A
break apart; CTRL + SHIFT + K

Set snapping as in example below - snapping to object centers.
Draw the line starting from one end.
Image

A better approach would be to have the software you used to generate the dots do the line as well. If you have more points the manual methhod gets 'labour intensive'.

God Luck
RGDS
Ragnar
Good Luck!
( ͡° ͜ʖ ͡°)
RGDS
Ragnar

User avatar
Grobe
Posts: 411
Joined: Tue Feb 02, 2010 2:20 am

Re: Joining the dots

Postby Grobe » Mon May 12, 2014 9:26 am

If you have a large number of X/Y entries, then matbe you could use Geogebra to plot it.
Recent versions of Geogebra should be able to export the file as svg, but you brobably have to do some manual work by drawing a line betwen the plots/dots.
:lol:

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Joining the dots

Postby Lazur » Mon May 12, 2014 12:00 pm

So you are using matlab and would need to do that alot of times?
Avoiding manual work.

Hmm.

Once you broke apart the dot object to separate paths, by connecting their first node would lead you to a parallel path, translated with a dot's radius.
By opening the xml editor, you can see all path's first node's coordinates.
To have a path going through those coordinates, you would need to make one using the M -moveto- action for each coordinate copy/pasted from the previous subpaths.
I'm guessing theoretically you could do that by writing an extension for it, otherwise it is a pain in the neck too.


Return to “Help with using Inkscape”