Weird plotting using limits

Post Reply
Posts: 54
Joined: January 5th, 2019, 12:41 pm

Weird plotting using limits

Post by Lautibah »

Find attached the file where I show the feature.
Both curves use the same equation and parameters, the only difference is the order of parameters in the "if" condition. None of those work properly, but one works weirder than the other, i.e., despite I have introduced two limits, only one is considered in one curve and none in the other curve.

Edit, Solved?: Ok, I have added two more curves which works properly, using the and condition or splitting the "if" condition
(4.02 KiB) Downloaded 98 times

User avatar
Site Admin
Posts: 67
Joined: December 27th, 2018, 5:24 pm
Location: St. Petersburg

Re: Weird plotting using limits

Post by MagicPlot »

Such syntax with two >/< operators with the same operand is not supported, but the parced does not show an error (so we need to fix that and show an error of cource):

Code: Select all

xs<x<xt (not supported)
The correct way is using AND operator:

Code: Select all

xs<x & x<xt (correct)

Post Reply