[Scilab-users] plot2d3()

CRETE Denis denis.crete at thalesgroup.com
Mon Apr 12 08:39:18 CEST 2021


Hello ,
What about using « errbar » function, something like errbar(x,y 50+y, 0) ?
HTH
Denis

De : users <users-bounces at lists.scilab.org> De la part de Federico Miyara
Envoyé : lundi 12 avril 2021 07:40
À : Users mailing list for Scilab <users at lists.scilab.org>
Objet : [Scilab-users] plot2d3()


Dear All,

I'm trying to get a plot like this:
[cid:image001.jpg at 01D72F77.52FA2D60]
where I intend to get a line plot where the lines come from the bottom of the plot instead of coming from 0 as is the normal way using plot2d3().

To get this with plot2d3() I had to plot the y axis data + 50 in order to make the botom of the plot coincident with 0, and then fake the labels using


gca()..y_ticks.labels = ["-50","-45","-40","-35","-30","-25","-20","-15","-10","-5","0","5","10"]';


To get the circles I had to use plot() with "o" as third argument since plot2d3() doesn't accept it.

Is there a more direct way to get such result

Is a there some way of achieving this in a more tative way?

Thanks!

Regards,

Federico Miyara

[https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif]<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>

Libre de virus. www.avast.com<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20210412/7bff9954/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 29595 bytes
Desc: image001.jpg
URL: <https://lists.scilab.org/pipermail/users/attachments/20210412/7bff9954/attachment.jpg>


More information about the users mailing list