GNU Octave - Bugs: bug #34146, svg output does not scale
bug #34146: svg output does not scale
Submitter: | None | ||
Submitted: | Sat 27 Aug 2011 07:54:41 AM UTC | ||
Category: | Plotting with gnuplot | Severity: | 3 - Normal |
Priority: | 5 - Normal | Item Group: | Incorrect Result |
Status: | Works For Me | Assigned to: | None |
Originator Name: | Originator Email: | -email is unavailable- | |
Open/Closed: | Closed | Release: | 3.4.0 |
Operating System: | GNU/Linux | Fixed Release: | None |
Planned Release: | None |
Discussion locked!
Jump to the original submission
Wed 31 Aug 2011 06:48:43 PM UTC, comment #9: |
Ben Abbott <bpabbott> |
Wed 31 Aug 2011 04:22:19 PM UTC, comment #8: If you are convinced there is a bug with gnuplot svg output, I suggest you report the bug to gnuplot. |
Ben Abbott <bpabbott> |
Wed 31 Aug 2011 04:13:54 PM UTC, comment #7: I did check your attachment out and it DOES NOT scale on the viewers I indicated. You have not replied to my question as to what viewer(s) you had tested on, so I'll have to guess from the mac.com addresses that you only used Safari. I reiterate your need to do further testing.
|
Anonymous |
Wed 31 Aug 2011 04:11:43 PM UTC, comment #6: Octave is not a commercial program--it is maintained by solely by volunteers. We are not your personal developers unless you agree to pay us. We have confirmed that it works on two different operating systems (Mac OS and Linux) and two different versions of gnuplot (4.4.3 and 4.2.6) and I have tried it on two different versions of Octave (3.4.0 and 3.4.2). I would suggest you try a true svg editor, such as Inkscape, rather than a browser to truly determine whether the generated svg is scalable. |
Rik <rik5> |
Wed 31 Aug 2011 01:58:28 PM UTC, comment #5: Its been a while since I was familar with SVG file format, but I'm rather confident that the line below means the graphic is scalable.
|
Ben Abbott <bpabbott> |
Wed 31 Aug 2011 01:13:24 PM UTC, comment #4: checkout what viewBox means ;)
|
Anonymous |
Wed 31 Aug 2011 12:39:17 PM UTC, comment #3: What are use using to view this "works for me" ?
|
Anonymous |
Wed 31 Aug 2011 05:10:17 AM UTC, comment #2: I plotted sombrero() and scaling works for me as well. |
Rik <rik5> |
Wed 31 Aug 2011 01:48:43 AM UTC, comment #1: I did a simple test using the developer's sources.
|
Ben Abbott <bpabbott> |
Sat 27 Aug 2011 07:54:41 AM UTC, original submission:
using print() with -dsvg produces a non-scalable svg.
|
Anonymous |
Depends on the following items: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 5 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2012-01-10 | jordigh | Dependencies | - | bugs #35270 is dependent | |
2011-08-31 | rik5 | Discussion Lock | None | Locked | |
2011-08-31 | rik5 | Open/Closed | Open | Closed | |
2011-08-31 | bpabbott | Attached File | - | Added gnuplot.svg, #23911 | |
Status | None | Works For Me |
Powered by Savane 3.13-4448.
Corresponding source code
I have confirmed that gnuplot has changed the way SVG is output. The code snippet below is from their developer's cvs.
The current sources should produce an unscaled version by default. Ironically, the manual for the 4.4 series indicates that unscaled is the default, but gnuplot produces a scalable version, none the less.
In any event, the sources can be modified to ensure the output is scalable for gnuplot.
As we'd like the OpenGL output to be consistent, I'll check with the glps developers to see what can be done there.