Skip to content

HEAT MAP stop autoadapt

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1997
    LaurentDelaon
    Participant

    Hi

    in cylinder2d :

    Code:
    heatmap::write(planeReduction, iT);

    This generate jpeg with an adapative scale wich chnaging min/MAX for each pictures is it really bored…
    This is a source of miss-understanding.

    How to stop this ?
    How to set a fix min and MAX for the heatmap scale ?

    thank’s regards

    Laurent.

    #2938
    Marc
    Participant

    Dear Laurent,

    a short example for your problem:
    // write output as JPEG and changing properties
    heatmap::plotParam<T> jpeg_Param;
    jpeg_Param.minValue = 0.;
    jpeg_Param.maxValue = 5.;
    heatmap::write(planeReduction, iT, jpeg_Param);

    For additional modification of the heatmap writer, see the venturi example in the code.

    Best,
    Marc

    #2939
    LaurentDelaon
    Participant

    hi Mark

    thank for your reply
    I test this works fine
    And I have also found informations in doc1.2 unfortunatly I read the 1.1…
    regard’s
    Laurent.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.