Quantcast
Channel: R.NET
Viewing all articles
Browse latest Browse all 1634

Commented Unassigned: RdotNet.Graphics, text function misbehavior [148]

$
0
0
Hi all,

I have come up with an issue related to displaying text through the R text() function. Specifically, the DrawText@GraphicsDeviceAdapter gets called with the wrong y value. This behavior can be only observed when the text() function is directly invoked to diplay text in the device, and assuming the R plot() function relies on it for displaying characters, it gets correctly called to plot the axis ticks values as shown in the RdotNet.Graphics.Test app.

Any ideas on this,
Jesus
Comments: Ok, that's a little vague. What to you mean wrong Y value? Can you show a small, independently runnable, snippet that demonstrates the issue? The GraphicsDeviceAdapter implements the device as specified in the "R Internals" document, Chapter 6. R.Net does not control the values generated by base graphics (or grid, ggplot2, etc..). I have sucessfully implemented a svg and png device on-top of the R.Net graphics layer and for the Svg device I had to flip the Y axis as they were inverted relative to each other (R vs Svg). Could that be the issue here?

Viewing all articles
Browse latest Browse all 1634

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>