[Paraview] "Plot Data" filter has problem with negative values

FERHAT HAMIDA Abdelhak a_ferhat_h at yahoo.fr
Sun Jan 29 14:34:38 EST 2017


Thank you Utkarsh AyachitAfter your reply, I found the origin of my problem.In a previous run, I used a semilog plot by enabling "Left Axis Log Scale" and saved the setting as default one. Paraview saves the setting in the file : $HOME/.config/ParaView/ParaView-UserSettings.json
 In the following runs, "Left Axis Log Scale" is enabled by default and ParaView do not accept negative values for "Left Axis Range Minimum" even if I disable  "Left Axis Log Scale".
To solve the problem, I disable "Left Axis Log Scale", save the settings and restart ParaView. (If I do not restart, I still in the same situation until next run). The changes do not take effect in the current session.
So, I this is not a normal behaviour, it can be a bug.
Best regards.

 
  

 

   

 Le Dimanche 29 janvier 2017 17h35, Utkarsh Ayachit <utkarsh.ayachit at kitware.com> a écrit :
 

 I am not able to reproduce the problem. Attached is a state file and
screenshot generated using ParaView 5.2.

On Sun, Jan 29, 2017 at 10:33 AM, FERHAT HAMIDA Abdelhak via ParaView
<paraview at paraview.org> wrote:
> I want to plot a tabulated fonction (say F=cos(t)) using paraview which
> reads the values of t and F from a csv file then the plot F-t is generated
> by the "Plot Data" filter. t takes values in the [-1,+1] range.
> The problem is:
>
> "Left Range Axis Maximum" can hold negative and positive values.
> "Left Range Axis Minimum" can not hold only negative values or zero.
>
> Thi results in: negative values of the function are not plotted.
> The only solution I found is to get a plot of the reverse function (-F) by
> setting "Left Range Axis Maximum" to a (-1) and "Left Range Axis Minimum" to
> (+1) which is very strange (Maximum < Minimum). The csv data and the plot
> are in the attached files.
> So please is there a solution to this problem or is this a bug in paraview?
> Nota: I get this with paraview 4.4.0 and 5.2 versions on Centos 7.
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>


   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170129/892dd82c/attachment.html>


More information about the ParaView mailing list