Hello everyone! During a postprocessing of thermal analysis done in the Ansys Mechanical APDL I'm facing the problem with Legend appearance plotting the temperature field. While background is black everything looks normal (smooth gradient of colors on the image and on the legend) but when I'm trying to "Reverse video" to get white background the contour legend damaged (colors on the scale are repeated, for example five blue colors, five yellow, five orange and so on). Similar situation when using Result viewer. PNG file representing comparison between black and white background influence on the legend is attached.
Here the APDL commands that I used to ajust contour legend:
---------------------------
/POST1
!*
/PLOPTS,INFO,1
/PLOPTS,LEG1,1
/PLOPTS,LEG2,0
/PLOPTS,LEG3,1
/PLOPTS,FRAME,0
/PLOPTS,TITLE,0
/PLOPTS,MINM,1
/PLOPTS,FILE,1
/PLOPTS,SPNO,0
/PLOPTS,LOGO,1
/PLOPTS,WINS,1
/PLOPTS,WP,0
/PLOPTS,DATE,1
/TRIAD,OFF
!*
/DEVICE,font,1,VERDANA,,,16
/DEVICE,VECTOR,0
/CONTOUR,1,76,280,20,
/REPLOT
!*
PLNSOL, TEMP,, 0
/REPLOT
-----------------------
These commands I used to get white background
-----------------------
/RGB,INDEX,100,100,100, 0 /RGB,INDEX, 80, 80, 80,13 /RGB,INDEX, 60, 60, 60,14 /RGB,INDEX, 0, 0, 0,15
-----------------------
And also I can't figure out how to use /show command to save images. Sometimes it saves only mesh or nodes and not a results plottings. Same problems with legend are also exists using /show command.
I found these commands (https://forum.ansys.com/forums/topic/how-to-export-high-resolution-images-in-apdl/) to save images but it doesn't work well in my case.
-----------------------
For Plotting nodal results: /RGB,INDEX,100,100,100, 0 /RGB,INDEX, 80, 80, 80,13 /RGB,INDEX, 60, 60, 60,14 /RGB,INDEX, 0, 0, 0,15 /SHOW,PNG,,0 PNGR,COMP,1,-1 PNGR,ORIENT,HORIZ PNGR,COLOR,2 PNGR,TMOD,1 /GFILE,800, !* /REPLOT /SHOW,CLOSE /DEVICE,VECTOR,0 !*
-----------------------
If anybody faced the same situation and fixed it please share the way you did.
Thank you in advance!