4

I am using data driven pages and arcpy.Graph() object to automate production of synchronised map/long-section series similar to this:

enter image description here

I'd like to keep vertical scale for long-section part. In order to do so I have to insert a couple of dummy points at the end of profile, because I cannot access these graph's properties via arcpy:

enter image description here

Does anyone know how to change min/max values for axis using script?

PolyGeo
65.5k29 gold badges115 silver badges349 bronze badges
asked Feb 19, 2016 at 1:07

1 Answer 1

3

Unfortunately, when generating a graph based on addSeriesLineHorizontal you don't get access to the min and max as you do with addSeriesBarMinMax for instance. arcpy.Graph() doesn't provide that fine-grained access to the graph properties.

You could either access ArcObjects from Python to complement your workflow, or turn to a more powerful matplotlib that is delivered with standard ArcGIS for Desktop installation.

answered Feb 19, 2016 at 8:56
1
  • Perfect, matplotlib will do exactly what I want Commented Feb 19, 2016 at 9:33

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.