Skip to content

How to specify a number of contours for plnsol #2223

Answered by mikerife
Artyom-K asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Artyom-K
Which order were the commands issued in? Make sure that the CONTOUR command is after the SHOW command. For example:

mapdl.view(1,1,1,1)
mapdl.show('png','','',8)
mapdl.contour(1,100,'auto')
mapdl.plnsol('temp')

Results in

Whereas this:

mapdl.view(1,1,1,1)
mapdl.contour(1,100,'auto')
mapdl.show('png','','',8)
mapdl.plnsol('temp')

Results in the nine-banded standard plot. Have you looked into the post_processing module instead? It is plotting results via PyVista and PyVista gives a lot of control to the color map and scalar bar.

Mike

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@Artyom-K
Comment options

Answer selected by germa89
Comment options

You must be logged in to vote
2 replies
@Artyom-K
Comment options

@germa89
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants