Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWalter Bender <walter.bender@gmail.com>2011-06-09 21:48:22 (GMT)
committer Walter Bender <walter.bender@gmail.com>2011-06-09 21:48:22 (GMT)
commit30159238e235c2a889fa37cc80b4d9648c8ba760 (patch)
tree1ae964000b7514864193b86c2d4756f4413a738e
parent422c034e26eb58fd277eb17c98da0ce5242b0c0a (diff)
adding CC coordinate grid for XO hardware
-rw-r--r--TurtleArt/taconstants.py2
-rw-r--r--TurtleArt/tawindow.py11
-rw-r--r--TurtleArtActivity.py19
-rw-r--r--icons/view-metric.svg61
-rw-r--r--images/metric.svg489
5 files changed, 580 insertions, 2 deletions
diff --git a/TurtleArt/taconstants.py b/TurtleArt/taconstants.py
index fdc42d1..30920d6 100644
--- a/TurtleArt/taconstants.py
+++ b/TurtleArt/taconstants.py
@@ -140,7 +140,7 @@ MEDIA_SHAPES = ['audiooff', 'audioon', 'audiosmall',
'pythonoff', 'pythonon', 'pythonsmall',
'list', '1x1', '1x1a', '2x1', '1x2', '2x2']
-OVERLAY_SHAPES = ['Cartesian', 'Cartesian_labeled', 'polar']
+OVERLAY_SHAPES = ['Cartesian', 'Cartesian_labeled', 'polar', 'metric']
STATUS_SHAPES = ['status', 'info', 'nostack', 'dupstack', 'noinput',
'emptyheap', 'emptybox', 'nomedia', 'nocode', 'overflowerror',
diff --git a/TurtleArt/tawindow.py b/TurtleArt/tawindow.py
index 5aff270..64a32fd 100644
--- a/TurtleArt/tawindow.py
+++ b/TurtleArt/tawindow.py
@@ -185,6 +185,7 @@ class TurtleArtWindow():
self.media_shapes = {}
self.cartesian = False
self.polar = False
+ self.metric = False
self.overlay_shapes = {}
self.toolbar_shapes = {}
self.toolbar_offset = 0
@@ -485,6 +486,15 @@ class TurtleArtWindow():
self.overlay_shapes['polar'].hide()
self.polar = False
+ def set_metric(self, flag):
+ """ Turn on/off metric coordinates """
+ if flag:
+ self.overlay_shapes['metric'].set_layer(OVERLAY_LAYER)
+ self.metric = True
+ else:
+ self.overlay_shapes['metric'].hide()
+ self.metric = False
+
def update_overlay_position(self, widget, event):
""" Reposition the overlays when window size changes """
self.width = event.width
@@ -507,6 +517,7 @@ class TurtleArtWindow():
self.overlay_shapes[name].type = 'overlay'
self.cartesian = False
self.polar = False
+ self.metric = False
self.canvas.width = self.width
self.canvas.height = self.height
self.canvas.move_turtle()
diff --git a/TurtleArtActivity.py b/TurtleArtActivity.py
index befd5b2..61d7645 100644
--- a/TurtleArtActivity.py
+++ b/TurtleArtActivity.py
@@ -51,7 +51,7 @@ from TurtleArt.taconstants import ICON_SIZE, BLOCK_SCALE
from TurtleArt.taexporthtml import save_html
from TurtleArt.taexportlogo import save_logo
from TurtleArt.tautils import data_to_file, data_to_string, data_from_string, \
- get_path, chooser
+ get_path, chooser, get_hardware
from TurtleArt.tawindow import TurtleArtWindow
from TurtleArt.tacollaboration import Collaboration
@@ -362,6 +362,13 @@ class TurtleArtActivity(activity.Activity):
else:
self.tw.set_polar(True)
+ def do_metric_cb(self, button):
+ ''' Display metric-coordinate grid. '''
+ if self.tw.metric:
+ self.tw.set_metric(False)
+ else:
+ self.tw.set_metric(True)
+
def do_rescale_cb(self, button):
''' Rescale coordinate system (100==height/2 or 100 pixels). '''
if self.tw.cartesian:
@@ -374,6 +381,11 @@ class TurtleArtActivity(activity.Activity):
self.tw.set_polar(False)
else:
polar = False
+ if self.tw.metric:
+ metric = True
+ self.tw.set_metric(False)
+ else:
+ polar = False
if self.tw.coord_scale == 1:
self.tw.coord_scale = self.tw.height / 200
self.rescale_button.set_icon('contract-coordinates')
@@ -387,6 +399,8 @@ class TurtleArtActivity(activity.Activity):
self.tw.set_cartesian(True)
if polar:
self.tw.set_polar(True)
+ if metric:
+ self.tw.set_metric(True)
def get_document_path(self, async_cb, async_err_cb):
''' View TA code as part of view source. '''
@@ -544,6 +558,9 @@ class TurtleArtActivity(activity.Activity):
self.do_cartesian_cb, view_toolbar_button)
self._add_button('view-polar', _('Polar coordinates'),
self.do_polar_cb, view_toolbar_button)
+ if get_hardware() in ['XO1', 'XO15']:
+ self._add_button('view-metric', _('Metric coordinates'),
+ self.do_metric_cb, view_toolbar_button)
self._add_separator(view_toolbar)
self.coordinates_label = self._add_label(_('xcor') + ' = 0 ' + \
_('ycor') + ' = 0 ' + _('heading') + ' = 0', view_toolbar)
diff --git a/icons/view-metric.svg b/icons/view-metric.svg
new file mode 100644
index 0000000..eccd71c
--- /dev/null
+++ b/icons/view-metric.svg
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.0"
+ width="55"
+ height="55"
+ id="svg2384">
+ <metadata
+ id="metadata10">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title></dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <defs
+ id="defs2386" />
+ <rect
+ width="50"
+ height="50"
+ x="2.5"
+ y="2.5"
+ id="rect2394"
+ style="fill:none;stroke:#ffffff;stroke-width:3.5;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
+ <path
+ d="m 27.5,40.877276 0,12.716411"
+ id="path3168"
+ style="fill:none;stroke:#ffffff;stroke-width:2.81262541;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
+ <path
+ d="m 9.8582187,27.5 -8.4776076,0"
+ id="path3170"
+ style="fill:none;stroke:#ffffff;stroke-width:2.76122212;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
+ <text
+ x="10.707031"
+ y="36.236328"
+ id="text2989"
+ xml:space="preserve"
+ style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"><tspan
+ x="10.707031"
+ y="36.236328"
+ id="tspan2991"
+ style="font-size:24px;fill:#ffffff">CC</tspan></text>
+ <path
+ d="m 27.5,1.4062879 0,12.7164111"
+ id="path3168-0"
+ style="fill:none;stroke:#ffffff;stroke-width:2.81257582;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
+ <path
+ d="m 53.729275,27.5 -8.477607,0"
+ id="path3170-7"
+ style="fill:none;stroke:#ffffff;stroke-width:2.54144907;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
+</svg>
diff --git a/images/metric.svg b/images/metric.svg
new file mode 100644
index 0000000..33f6d3d
--- /dev/null
+++ b/images/metric.svg
@@ -0,0 +1,489 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ version="1.0"
+ width="1200"
+ height="900"
+ id="svg2">
+ <metadata
+ id="metadata91">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title></dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <defs
+ id="defs4" />
+ <path
+ d="m 0,764.8 1200,0"
+ id="path5"
+ style="fill:none;stroke:#aaaaaa;stroke-width:1px;stroke-opacity:1" />
+ <path
+ d="m 0,686.1 1200,0"
+ id="path7"
+ style="fill:none;stroke:#aaaaaa;stroke-width:1px;stroke-opacity:1" />
+ <path
+ d="m 0,607.4 1200,0"
+ id="path9"
+ style="fill:none;stroke:#aaaaaa;stroke-width:1px;stroke-opacity:1" />
+ <path
+ d="m 0,528.7 1200,0"
+ id="path11"
+ style="fill:none;stroke:#aaaaaa;stroke-width:1px;stroke-opacity:1" />
+ <path
+ d="m 0,371.3 1200,0"
+ id="path13"
+ style="fill:none;stroke:#aaaaaa;stroke-width:1px;stroke-opacity:1" />
+ <path
+ d="m 0,292.6 1200,0"
+ id="path15"
+ style="fill:none;stroke:#aaaaaa;stroke-width:1px;stroke-opacity:1" />
+ <path
+ d="m 0,213.9 1200,0"
+ id="path17"
+ style="fill:none;stroke:#aaaaaa;stroke-width:1px;stroke-opacity:1" />
+ <path
+ d="m 0,135.2 1200,0"
+ id="path19"
+ style="fill:none;stroke:#aaaaaa;stroke-width:1px;stroke-opacity:1" />
+ <path
+ d="m 993.5,0 0,900"
+ id="path21"
+ style="fill:none;stroke:#aaaaaa;stroke-width:1px;stroke-opacity:1" />
+ <path
+ d="m 914.8,0 0,900"
+ id="path23"
+ style="fill:none;stroke:#aaaaaa;stroke-width:1px;stroke-opacity:1" />
+ <path
+ d="m 836.1,0 0,900"
+ id="path25"
+ style="fill:none;stroke:#aaaaaa;stroke-width:1px;stroke-opacity:1" />
+ <path
+ d="m 757.4,0 0,900"
+ id="path27"
+ style="fill:none;stroke:#aaaaaa;stroke-width:1px;stroke-opacity:1" />
+ <path
+ d="m 678.7,0 0,900"
+ id="path29"
+ style="fill:none;stroke:#aaaaaa;stroke-width:1px;stroke-opacity:1" />
+ <path
+ d="m 521.3,0 0,900"
+ id="path31"
+ style="fill:none;stroke:#aaaaaa;stroke-width:1px;stroke-opacity:1" />
+ <path
+ d="m 442.6,0 0,900"
+ id="path33"
+ style="fill:none;stroke:#aaaaaa;stroke-width:1px;stroke-opacity:1" />
+ <path
+ d="m 363.9,0 0,900"
+ id="path35"
+ style="fill:none;stroke:#aaaaaa;stroke-width:1px;stroke-opacity:1" />
+ <path
+ d="m 285.2,0 0,900"
+ id="path37"
+ style="fill:none;stroke:#aaaaaa;stroke-width:1px;stroke-opacity:1" />
+ <path
+ d="m 206.5,0 0,900"
+ id="path39"
+ style="fill:none;stroke:#aaaaaa;stroke-width:1px;stroke-opacity:1" />
+ <path
+ d="m 590,764.8 20,0"
+ id="path41"
+ style="fill:none;stroke:#000000;stroke-width:1px;stroke-opacity:1" />
+ <path
+ d="m 590,686.1 20,0"
+ id="path43"
+ style="fill:none;stroke:#000000;stroke-width:1px;stroke-opacity:1" />
+ <path
+ d="m 590,607.4 20,0"
+ id="path45"
+ style="fill:none;stroke:#000000;stroke-width:1px;stroke-opacity:1" />
+ <path
+ d="m 590,528.7 20,0"
+ id="path47"
+ style="fill:none;stroke:#000000;stroke-width:1px;stroke-opacity:1" />
+ <path
+ d="m 0,450 1200,0"
+ id="path49"
+ style="fill:none;stroke:#000000;stroke-width:1px;stroke-opacity:1" />
+ <path
+ d="m 590,371.3 20,0"
+ id="path51"
+ style="fill:none;stroke:#000000;stroke-width:1px;stroke-opacity:1" />
+ <path
+ d="m 590,292.6 20,0"
+ id="path53"
+ style="fill:none;stroke:#000000;stroke-width:1px;stroke-opacity:1" />
+ <path
+ d="m 590,213.9 20,0"
+ id="path55"
+ style="fill:none;stroke:#000000;stroke-width:1px;stroke-opacity:1" />
+ <path
+ d="m 0,56.5 1200,0"
+ id="path19-8"
+ style="fill:none;stroke:#aaaaaa;stroke-width:1px;stroke-opacity:1" />
+ <path
+ d="m 590,56.5 20,0"
+ id="path57"
+ style="fill:none;stroke:#000000;stroke-width:1px;stroke-opacity:1" />
+ <path
+ d="m 600,0 0,900"
+ id="path69"
+ style="fill:none;stroke:#000000;stroke-width:1px;stroke-opacity:1" />
+ <text
+ x="603.90137"
+ y="365.79999"
+ id="text3218"
+ xml:space="preserve"
+ style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans"><tspan
+ x="603.90137"
+ y="365.79999"
+ id="tspan3220">1</tspan></text>
+ <text
+ x="604.26758"
+ y="287.10001"
+ id="text3218-8"
+ xml:space="preserve"
+ style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans"><tspan
+ x="604.26758"
+ y="287.10001"
+ id="tspan3220-7">2</tspan></text>
+ <text
+ x="604.23828"
+ y="208.25839"
+ id="text3218-7"
+ xml:space="preserve"
+ style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans"><tspan
+ x="604.23828"
+ y="208.25839"
+ id="tspan3220-2">3</tspan></text>
+ <text
+ x="604.51172"
+ y="51"
+ id="text3218-2"
+ xml:space="preserve"
+ style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans"><tspan
+ x="604.51172"
+ y="51"
+ id="tspan3220-26">5</tspan></text>
+ <path
+ d="m 993.5,440 0,20"
+ id="path59"
+ style="fill:none;stroke:#000000;stroke-width:1px;stroke-opacity:1" />
+ <text
+ x="997.72852"
+ y="444.8584"
+ id="text3218-6"
+ xml:space="preserve"
+ style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans"><tspan
+ x="997.72852"
+ y="444.8584"
+ id="tspan3220-1">5</tspan></text>
+ <path
+ d="m 914.8,440 0,20"
+ id="path61"
+ style="fill:none;stroke:#000000;stroke-width:1px;stroke-opacity:1" />
+ <text
+ x="919.31171"
+ y="444.8584"
+ id="text3218-9"
+ xml:space="preserve"
+ style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans"><tspan
+ x="919.31171"
+ y="444.8584"
+ id="tspan3220-4">4</tspan></text>
+ <path
+ d="m 836.1,440 0,20"
+ id="path63"
+ style="fill:none;stroke:#000000;stroke-width:1px;stroke-opacity:1" />
+ <text
+ x="840.33826"
+ y="444.8584"
+ id="text3218-0"
+ xml:space="preserve"
+ style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans"><tspan
+ x="840.33826"
+ y="444.8584"
+ id="tspan3220-9">3</tspan></text>
+ <path
+ d="m 757.4,440 0,20"
+ id="path65"
+ style="fill:none;stroke:#000000;stroke-width:1px;stroke-opacity:1" />
+ <text
+ x="761.6676"
+ y="444.8584"
+ id="text3218-71"
+ xml:space="preserve"
+ style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans"><tspan
+ x="761.6676"
+ y="444.8584"
+ id="tspan3220-15">2</tspan></text>
+ <path
+ d="m 678.7,440 0,20"
+ id="path67"
+ style="fill:none;stroke:#000000;stroke-width:1px;stroke-opacity:1" />
+ <text
+ x="682.60138"
+ y="444.8584"
+ id="text3218-76"
+ xml:space="preserve"
+ style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans"><tspan
+ x="682.60138"
+ y="444.8584"
+ id="tspan3220-73">1</tspan></text>
+ <path
+ d="m 521.3,440 0,20"
+ id="path71"
+ style="fill:none;stroke:#000000;stroke-width:1px;stroke-opacity:1" />
+ <text
+ x="506.81171"
+ y="444.8584"
+ id="text3218-5"
+ xml:space="preserve"
+ style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans"><tspan
+ x="506.81171"
+ y="444.8584"
+ id="tspan3220-6">–1</tspan></text>
+ <path
+ d="m 442.6,440 0,20"
+ id="path73"
+ style="fill:none;stroke:#000000;stroke-width:1px;stroke-opacity:1" />
+ <text
+ x="428.11172"
+ y="444.8584"
+ id="text3218-94"
+ xml:space="preserve"
+ style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans"><tspan
+ x="428.11172"
+ y="444.8584"
+ id="tspan3220-8">–2</tspan></text>
+ <path
+ d="m 363.9,440 0,20"
+ id="path75"
+ style="fill:none;stroke:#000000;stroke-width:1px;stroke-opacity:1" />
+ <text
+ x="349.41171"
+ y="444.8584"
+ id="text3218-93"
+ xml:space="preserve"
+ style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans"><tspan
+ x="349.41171"
+ y="444.8584"
+ id="tspan3220-90">–3</tspan></text>
+ <path
+ d="m 285.2,440 0,20"
+ id="path77"
+ style="fill:none;stroke:#000000;stroke-width:1px;stroke-opacity:1" />
+ <text
+ x="270.71173"
+ y="444.8584"
+ id="text3218-85"
+ xml:space="preserve"
+ style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans"><tspan
+ x="270.71173"
+ y="444.8584"
+ id="tspan3220-0">–4</tspan></text>
+ <text
+ x="583.51172"
+ y="540.8584"
+ id="text3218-1"
+ xml:space="preserve"
+ style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans"><tspan
+ x="583.51172"
+ y="540.8584"
+ id="tspan3220-5">–1</tspan></text>
+ <text
+ x="583.51172"
+ y="618.8584"
+ id="text3218-4"
+ xml:space="preserve"
+ style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans"><tspan
+ x="583.51172"
+ y="618.8584"
+ id="tspan3220-81">–2</tspan></text>
+ <text
+ x="583.51172"
+ y="698.8584"
+ id="text3218-30"
+ xml:space="preserve"
+ style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans"><tspan
+ x="583.51172"
+ y="698.8584"
+ id="tspan3220-44">–3</tspan></text>
+ <text
+ x="583.51172"
+ y="776.8584"
+ id="text3218-47"
+ xml:space="preserve"
+ style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans"><tspan
+ x="583.51172"
+ y="776.8584"
+ id="tspan3220-63">–4</tspan></text>
+ <text
+ x="604.34082"
+ y="444.8584"
+ id="text3218-96"
+ xml:space="preserve"
+ style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans"><tspan
+ x="604.34082"
+ y="444.8584"
+ id="tspan3220-21">0</tspan></text>
+ <text
+ x="15.140625"
+ y="51.681641"
+ id="text3218-2-7"
+ xml:space="preserve"
+ style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans"><tspan
+ x="15.140625"
+ y="51.681641"
+ id="tspan3220-26-8">(–7, 5)</tspan></text>
+ <text
+ x="1154.1406"
+ y="51.681641"
+ id="text3218-2-7-5"
+ xml:space="preserve"
+ style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans"><tspan
+ x="1154.1406"
+ y="51.681641"
+ id="tspan3220-26-8-7">(7, 5)</tspan></text>
+ <text
+ x="1154.1406"
+ y="839.68164"
+ id="text3218-2-7-1"
+ xml:space="preserve"
+ style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans"><tspan
+ x="1154.1406"
+ y="839.68164"
+ id="tspan3220-26-8-8">(7, –5)</tspan></text>
+ <text
+ x="9.140625"
+ y="853.68164"
+ id="text3218-2-7-1-5"
+ xml:space="preserve"
+ style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans"><tspan
+ x="9.140625"
+ y="853.68164"
+ id="tspan3220-26-8-8-9">(–7, –5)</tspan></text>
+ <path
+ d="m 0,843.5 1200,0"
+ id="path5-7"
+ style="fill:none;stroke:#aaaaaa;stroke-width:1px;stroke-opacity:1" />
+ <path
+ d="m 590,135.2 20,0"
+ id="path57-8"
+ style="fill:none;stroke:#000000;stroke-width:1px;stroke-opacity:1" />
+ <text
+ x="604.51172"
+ y="130.0584"
+ id="text3218-2-5"
+ xml:space="preserve"
+ style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans"><tspan
+ x="604.51172"
+ y="130.0584"
+ id="tspan3220-26-3">4</tspan></text>
+ <path
+ d="m 590,843.5 20,0"
+ id="path41-6"
+ style="fill:none;stroke:#000000;stroke-width:1px;stroke-opacity:1" />
+ <text
+ x="583.51172"
+ y="856.74347"
+ id="text3218-47-2"
+ xml:space="preserve"
+ style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans"><tspan
+ x="583.51172"
+ y="856.74347"
+ id="tspan3220-63-0">–5</tspan></text>
+ <path
+ d="m 1072.2,0 0,900"
+ id="path21-1"
+ style="fill:none;stroke:#aaaaaa;stroke-width:1px;stroke-opacity:1" />
+ <path
+ d="m 1150.9,0 0,900"
+ id="path21-1-1"
+ style="fill:none;stroke:#aaaaaa;stroke-width:1px;stroke-opacity:1" />
+ <path
+ d="m 127.8,0 0,900"
+ id="path39-3"
+ style="fill:none;stroke:#aaaaaa;stroke-width:1px;stroke-opacity:1" />
+ <path
+ d="m 127.8,440 0,20"
+ id="path79"
+ style="fill:none;stroke:#000000;stroke-width:1px;stroke-opacity:1" />
+ <text
+ x="113.31172"
+ y="444.8584"
+ id="text3218-3"
+ xml:space="preserve"
+ style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans"><tspan
+ x="113.31172"
+ y="444.8584"
+ id="tspan3220-85">–6</tspan></text>
+ <path
+ d="m 49.1,0 0,900"
+ id="path39-3-8"
+ style="fill:none;stroke:#aaaaaa;stroke-width:1px;stroke-opacity:1" />
+ <path
+ d="m 1072.2,440 0,20"
+ id="path59-9"
+ style="fill:none;stroke:#000000;stroke-width:1px;stroke-opacity:1" />
+ <text
+ x="1076.4286"
+ y="444.8584"
+ id="text3218-6-6"
+ xml:space="preserve"
+ style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans"><tspan
+ x="1076.4286"
+ y="444.8584"
+ id="tspan3220-1-5">6</tspan></text>
+ <path
+ d="m 1150.9,439.99999 0,20"
+ id="path59-5"
+ style="fill:none;stroke:#000000;stroke-width:1px;stroke-opacity:1" />
+ <text
+ x="1155.1285"
+ y="444.8584"
+ id="text3218-6-3"
+ xml:space="preserve"
+ style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans"><tspan
+ x="1155.1285"
+ y="444.8584"
+ id="tspan3220-1-8">7</tspan></text>
+ <path
+ d="m 206.5,440 0,20"
+ id="path79-4"
+ style="fill:none;stroke:#000000;stroke-width:1px;stroke-opacity:1" />
+ <text
+ x="192.01172"
+ y="444.8584"
+ id="text3218-3-1"
+ xml:space="preserve"
+ style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans"><tspan
+ x="192.01172"
+ y="444.8584"
+ id="tspan3220-85-9">–5</tspan></text>
+ <path
+ d="m 49.1,440.00001 0,20"
+ id="path79-3"
+ style="fill:none;stroke:#000000;stroke-width:1px;stroke-opacity:1" />
+ <text
+ x="34.611721"
+ y="444.8584"
+ id="text3218-3-6"
+ xml:space="preserve"
+ style="font-size:10px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:DejaVu Sans;-inkscape-font-specification:DejaVu Sans"><tspan
+ x="34.611721"
+ y="444.8584"
+ id="tspan3220-85-4">–7</tspan></text>
+</svg>