I set symbology and exported each raster in my mxd (one by one) to jpg file. My script is ok and it works (it is shown at the bottom).
The question is: how can I customly set my legend? Now I have those standard labels ("High: #max.number" and "Low: #min.number"), see the image link. Is it possible to use a python script that sets labels different, for example "Max. value: #maximum number" and "Min. value: #minimum number"? I have 200 images and renaming each legend is time consuming...
image link (example):
MY SCRIPT: mxd=arcpy.mapping.MapDocument("CURRENT") for lyr in arcpy.mapping.ListLayers(mxd): arcpy.ApplySymbologyFromLayer_management(lyr, "my_first_layer") for lyr in arcpy.mapping.ListLayers(mxd): #turn off all layers lyr.visible = False for lyr in arcpy.mapping.ListLayers(mxd): #turn one layer on at a time and export ... lyr.visible = True<BR> arcpy.mapping.ExportToJPEG(mxd, "D:\\Users\\JPG_FILES\\"+ lyr.name +".jpg",resolution=300) lyr.visible = False