[overture] Re: contour plotter

  • From: Yongsheng Lian <yongshenglian@xxxxxxxxx>
  • To: overture@xxxxxxxxxxxxx
  • Date: Wed, 1 Apr 2009 16:07:19 -0400

Bill and Dominic,

  Thanks for the reply. I will convert the exiting plot3d file to a
show file instead.

Yongsheng

On Tue, Mar 31, 2009 at 4:29 AM, Bill Henshaw <henshaw@xxxxxxxx> wrote:
> HI Yongshen,
>
> Yongsheng Lian wrote:
>>
>> Hi Bill,
>>
>>  Thank you for the input.
>>
>>  I look at th GraphicsParameters.C, the default one is red=0;
>> green=value; blue=1-value. I tried to use red color for the maximum
>> value and blue the minimum, so I use red=1; blue=0; green=value. It
>> does not work. Is there any related paper that I need to look at?
>
> To use the user defined colour table you need to use the command
> "user defined" from the contour plotter pop-up menu. To set red
> for max and blue for min you would set red=value; blue=1-value; green=0;
>
>
>>
>>
>>  I am using a wireless mouse, somehow the pop up window does not show
>> when I click the right button.
>
> You need to make sure that the "num-lock" key is not set or the
> the right mouse button will not work.
>
>>
>>  I did change the value to min=-10 and maximum=10.1.  Because contour
>> surface plot uses continuous values, the zero is still there.  In
>> Tecplot it has a function that I can blank out contours in certain
>> range, [-2 2], for example. Could we do the similar thing using
>> plotStuff?
>
> Unfortunately there is no option to do this.
>
>>
>>  I did notice that in the Ogshow directory there is a subroutine that
>> can change plot3d files to a show file. Do we have a subroutine that
>> can convert a show file to a plot3D file?
>
> As far as I remember there is no function to convert a show file
> to plot3d.
>
> ...Bill
>
>>
>> Thanks,
>>  Yongsheng
>>
>>>  You can define a new colour table by changing the
>>> user defined colour table in function defaultColourTableFunction
>>> in GraphicsParameters.C . To use this table, change the colour
>>> table from the contour plotter popup menu.
>>>
>>>  Sometimes the zero contour level generates many contour lines
>>> near zero. You can set the min and max contour levels so that
>>> zero is not a contour value, e.g. min=-10, max=10.01
>>>
>>> I didn't fully understand your questions but I hope that
>>> helps.
>>>
>>> ...Bill
>>>
>>> Yongsheng Lian wrote:
>>>>
>>>> In the contour plotter menu of plotStuff, is there a way that we can
>>>> change the scheme?  To compare the result with experiment results of
>>>> others, we need to find the same scheme. For example, in the vorticity
>>>> contour, the maximum value uses blue and minimum one uses red. If we
>>>> want to use red for maximum and blue for minimum instead, can we do
>>>> that?
>>>>
>>>> The second question is can we blank-out some values to make those
>>>> regions white.  Because the vorticity is nearly zero away from the
>>>> wing, we want to assign it to white to make the figure nicer.
>>>>
>>>> I read the contour.C in Ogshow directory, it seems there are more
>>>> options.
>>>>
>>>> Thanks,
>>>>  Yongsheng
>>>>
>>>>
>>>
>>
>>
>>
>
>

Other related posts: