I am using PlotOverLine in ParaView to visualize my data from variable u and v. In my 1-D simulation u and v have some value through whole domain, but actually for my problem u is only valid in domain 1 (0<x<1) and v is only valid in domain 2 (1<x<2).
Can we get rid of (or say, hidden) the data I don’t like here? e.g., u only shows its curve from 0 to 1 and v only shows its curve from 1 to 2.
I’m glad you found a solution to your problem. I just wanted to note that it appears that any value outside of the valid domain appears to be set to 0. If possible, you might consider changing values outside of the valid domain to NaN. If your values were NaN, then the PlotOverLine would automatically remove them and not plot the erroneous values you are pointing out. It could also avoid other confusing issues and scaling problems that might arise.
It is wired. I was able to solve this long time ago. Today I meet this again, but “set the X Array Name from arc_length to Points_X” does not fix. Could someone help? I have attached the source file and the pictures.
@utkarsh.ayachit, I’m going to shoot this over to you. I think the easiest thing to do in this case should be to replace the 0’s in the arrays with NaN’s, but I can’t find a straightforward way to do that.