|
POST
|
Recently upgraded to Arc 10.2.2...no issues during installation. I have been using Pythonwin and Pyscripter with no issues at all until I went to re-examine some graphing examples that I had tested previously this summer with no issues...or so I thought. The code snippet below fails in both programs yielding the error: Message File Name Line Position Traceback <module> C:\!AV_10\PythonDemos\PyLab\pylabLineGraphDemo2.py 14 <module> C:\Python27\ArcGIS10.2\lib\site-packages\pylab.py 1 <module> C:\Python27\ArcGIS10.2\lib\site-packages\matplotlib\__init__.py 121 ImportError: matplotlib requires pyparsing >= 1.5.6 Since I have been known to be crazy, could someone test the code snippet on a version of Pythonwin and/or Pyscripter for a pre-10.2.2 installation? (Note: People copying and pasting code will still have the line numbers if using IE 11...this is a known issue) EDIT Could someone also test it on 10.2.2 to see if it is just my installation that has gone bad or if it is general in nature. Thanks ''' import numpy import numpy.random import pylab #data examples, uncomment as desired #xs = numpy.random.randint(0,100, 25); ys = numpy.random.randint(0,100, 25) #random integers #xs = [0,1,2,3,4,5,6,7,8,9,10]; ys = [0,1,2,3,4,5,6,7,8,9,10] #sequential integers xs = [0,1,2,3,4,5,6,7,8,9,10]; ys = [0.1,0.9,2.1,2.9,4.1,5,5.9,7.1,7.9,9.1,10] #sequential with scatter pylab.scatter(xs, ys,s=20, c='b', marker='+') #blue + markers pylab.title("Sample title") pylab.xlabel("x-axis") pylab.ylabel("y-axis") pylab.text(1,10,"Sample text") fit = pylab.polyfit(xs,ys,1) fit_fn = pylab.poly1d(fit) #plot with blue pluses (b+), solid black line -, try yo yellow circles (yo) dashed line (--k) pylab.plot(xs, ys, 'b+', xs, fit_fn(xs), '-k') pylab.show() Message was edited by: Dan Patterson Widen audience Message was edited by: Dan Patterson broaden scope
... View more
08-02-2014
01:42 PM
|
0
|
9
|
6261
|
|
POST
|
Sorry, can't find userName() as a reference property anywhere except when associated with server stuff
... View more
08-02-2014
07:53 AM
|
0
|
1
|
1785
|
|
POST
|
Unless your environments are set, via arcpy, I thought the path to the project needed to be set explicitly as to the folder and filename...could be wrong
... View more
08-02-2014
05:29 AM
|
0
|
4
|
4082
|
|
POST
|
maybe the Cad to Geodatabase would be useful getting the data into a useable form
... View more
08-02-2014
05:28 AM
|
0
|
0
|
2871
|
|
POST
|
The various options for the Toolbar require certain types of data. Are your data in the proper format. or is it just a 2D drawing?
... View more
08-02-2014
02:01 AM
|
0
|
2
|
2871
|
|
POST
|
Just checking...Yes you can do way more things in ArcToolbox's 3D toolset. Also, the toolbar can be loaded even though the extension isn't...it will just be disabled...at least in version 10.2.2
... View more
08-02-2014
01:42 AM
|
0
|
4
|
2871
|
|
POST
|
Go to the Customize menu, select Extensions and toggle on the 3D analyst
... View more
08-02-2014
01:32 AM
|
0
|
6
|
2871
|
|
POST
|
This link is the online help file....I would begin here and proceed down the menu tree. There is no quick way of doing what you want until you have the basics.
... View more
08-01-2014
08:58 PM
|
0
|
0
|
711
|
|
POST
|
ArcMap has to be open and you require an existing graph or a template. So your last line pretty well sums up the expected behaviour
... View more
08-01-2014
08:54 PM
|
0
|
3
|
2835
|
|
POST
|
Can you post all the code, one line out of an updatecursor isn't going to provide much information
... View more
08-01-2014
04:49 PM
|
0
|
0
|
1785
|
|
POST
|
Will this one can't figure it out either...sure won't be putting a flowdirection on any of my exams until this can be figured out
... View more
08-01-2014
03:34 PM
|
0
|
5
|
1447
|
|
POST
|
This error confuses me since it suggests that you are using map algebra to calculate flowdirection rather than the flowdirection tool in Arctoolbox (or there is and error in there). Can you confirm you methodology, since there are absolutely no error messages associated with flowdirection. Which options are you using if you are using the tool? And what happens if you change some of them? 010067 : Error in executing grid expression. Desktop » Geoprocessing » Tool errors and warnings » Tool errors 10001 - 20000 Description There was a problem executing the map algebra expression. Solution Check the syntax of the function and ensure that you are correctly specifying all the required and any optional parameters. Be sure to check that the data type is correct. For example, specifying a character string in the command when a numerical value is expected may cause this error.
... View more
08-01-2014
03:17 PM
|
0
|
7
|
3588
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-03-2017 11:39 AM | |
| 1 | 08-05-2019 05:21 PM | |
| 1 | 09-02-2016 08:05 AM | |
| 1 | 01-15-2018 01:10 PM | |
| 1 | 09-17-2018 12:48 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:22 AM
|