[Scilab-users] Fwd: plotting dots vs xfarc

Rafael Guerra jrafaelbguerra at hotmail.com
Wed Sep 30 19:11:45 CEST 2020


Hi,

Type in help:  pixel_drawing_mode
Could this help for your problem?

Regards,
Rafael


From: users <users-bounces at lists.scilab.org> On Behalf Of P M
Sent: Wednesday, September 30, 2020 5:50 PM
To: International users mailing list for Scilab. <users at lists.scilab.org>
Subject: [Scilab-users] Fwd: plotting dots vs xfarc

Dear community,

I need to create images, which includes exact dot-coordinates, drawn as filled circles.

All pixel coordinates of such an area would have to have exactly one single pixel value.

The resulting graphic right now is stored via:      xs2bmp.


to create the dots I naturally would use:      plot (x,y,'o')

Issues here:
- It seems that the resulting pixels of the dot in the final image are not equally colored.
- Especially pixels at the right lower "corner" seem to be off-colored.


So I tried:  xfarc:
Issue here:
- xfarc() seems not always to find the correct x-y-location.

See example attached.

 - The dots by plot() are colored white.
 - The xfarc is colored blue.

I left some dots without xfarc() to demonstrate the issue of plot().

I think I could "brute-force" pixel values of the underlying image (not black for real purpose) to correct pixel values.
But actually I wanted to avoid that.

Any hint?

Used: Scilab 6.1.0

Best regards,
Philipp








-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20200930/af877f75/attachment.htm>


More information about the users mailing list