Joining the dots
-
- Posts: 5
- Joined: Sat Feb 02, 2013 12:10 pm
Joining the dots
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 166 times
Re: Joining the dots
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.
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
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.
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
( ͡° ͜ʖ ͡°)
RGDS
Ragnar
Re: Joining the dots
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.
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.
Re: Joining the dots
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.
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.