You could add "V0H0z" to the end of the path data and instead of 
using stroke set stroke to "none" and fill to any color you like. 
Without a stroke, using transform would not yield ugly results.

If you wish to use a stroke then you could use Javascript to rescale 
the path data. The source code would still hold the original data. 
The script only adapts it for display at runtime.

Or you can define your own namespace and XML syntax for storing the 
original data inside the SVG.


Bye
  Frank

--- In svg-developers@yahoogroups.com, "Mark Styler" <[EMAIL PROTECTED]> 
wrote:
>
> I have laboratory data acquisition equipment I have set up to 
generate
> SVG reports containing all of the meta data as text and a plot of 
the
> raw data.  The data plot looks awful because of coordinate
> transformations.  The problem is that the test duration is 0.005
> seconds (x-axis of the graph) and the y axis is +-10 volts.
> 
> It is important to me that the svg files are complete records of the
> test and that they can be opened in ASCII and have the actual data
> presented.  Right now I can apply my own scales to the data before
> putting it into a path element, but that does not preserve the raw
> data.  For example, if I multiply all of my raw x-data by 160000, my
> data range is now 0 to 800.  I have done this and I get a nice 
looking
> 800x600 plot (sy=-30,ty=300), but I want a nice looking 800x600 plot
> with raw data in the svg file.
> 
> I've tried <g transform='matrix(sx 0 0 sy tx ty)'>, but my x-scale 
is
> so huge (160,000) that when I draw a line with stroke-width=1
> it is very ugly.  I also can not write legible text under that
> transformation for my grid line labels.
> 
> Is there a way in SVG to specify a new coordinate system without
> applying transformations to the strokes/text width?
> 
> I have also tried an 
> <svg width='800' height='600' preserveAspectRatio='none' viewBox='0 
0
> 0.005 20'> <g><path ... /></g> </svg>.
> 
> In summary, I think I want a new coordinate system for the locations
> (x, y) but not the dimensions (height, width).
>




-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to