As regard to the X-axis, you don't have to do anything with the 
coordinates. What you have to do is placing the viewBox attribute of the 
svg root element to the left so you can see the negative X coordinates.

For the Y-axis there are 2 solutions. The best solution is most 
GIS-applications is multiplying the Y coordinates with (-1). The other 
solution is using a group element which contains all other content. To 
that group element you add a transform attribute which mirrors the Y 
axis. The downside to this approach is that your text will be upside down.

You will also have to place the viewBox upwards if you want to be able 
to see the content with negative Y coordinates.

Probably something like this (correct me if I'm wrong plz):

<svg viewBox="-100 -100 200 200" ... >
    <rect x="-10" y="-10" width="20" height="20" fill="blue">
</svg>

This will show an area from x[-100, 100] and y[-100,100] with a blue 
rectangle in the middle.

Jeroen

sachin629s schreef:
>
> hi all
>
> i am calculating certain coordinate points according to the cartesian
> coordinate with four quadrants
> how shud i ma them to the svg canvas as the origin of this canvas is
> the top/left corner and the x axis goes towards the right and y axis
> moves downwards .
> pls guide me
>
>  


Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/1U_rlB/TM
--------------------------------------------------------------------~-> 

-----
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/

<*> 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