Resizing a set of objects without relocating them.

Asked by Stephen

I've plotted some data using different style markers, and I've found that they are too small. I would like to make all of them larger while leaving them in place.

I know that I can individually re-size them all. I have thousands of data points, and this solution is impractical.

I know that I can highlight them all, lock the scale and enlarge them, but then the location of the points changes.

Is there an elegant solution to this problem?

Question information

Language:
English Edit question
Status:
Solved
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Solved by:
su_v
Solved:
Last query:
Last reply:
Revision history for this message
Edouard (edouardst) said :
#1

Hi,

Well, it depends on the kind of markers you've used.
If you're fluent with text manipulation, sed etc... you could replace (in the SVG file) all the data points in a series by clones of the first marker, so that a change to the parent is reflected in each clone. This solution is a bit technical.

More easy, but depends on your kind of marker : select all the markers and change the stroke width (Object > Fill and Stroke or Shift-Ctrl-F).

Hope it helps,
regards

Revision history for this message
Best su_v (suv-lp) said :
#2

On 2013-06-19 21:51 +0100, Stephen wrote:
> I know that I can highlight them all, lock the scale and enlarge them, but then the location of the points changes.

Assuming your data points are not markers (aka nodes) of single large
paths - have you tried to scale them via menu
  'Object > Transform…'
with
  [x] Apply to each objects separately
checked?

If this doesn't answer your question at all, please provide more
information about what kind of objects this question is actually about
(note that 'marker' in SVG has a special meaning, and does not refer to
a regular individual object in the drawing, but to how nodes can be
styled via stroke attributes) - ideally, share a sample SVG file with
such data points (e.g. via DropBox).

Revision history for this message
su_v (suv-lp) said :
#3

On 2013-07-03 12:24 +0100, su_v wrote:
> On 2013-06-19 21:51 +0100, Stephen wrote:
>> I know that I can highlight them all, lock the scale and enlarge them, but then the location of the points changes.
>
> Assuming your data points are not markers (aka nodes) of single large
> paths - have you tried to scale them via menu
> 'Object > Transform…'
> with
> [x] Apply to each objects separately
> checked?

<quote>
 An object will be scaled relative to the center of its bounding box.
</quote>
<http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Transforms.html#Transforms-Scale>

Revision history for this message
Stephen (soccerstephen88) said :
#4

Thanks ~suv, that solved my question.

Revision history for this message
Stephen (soccerstephen88) said :
#5

I did not try editing the eps file directly (I'm saving my plots directly from matlab to an eps format - I have mixed feelings about the quality of the matlab eps generator). I may want to familiarize myself with that approach in the future. Thanks!