Log Scaling the variable in boxplot causes display problems

The following error message is produced upon brushing over an existing plot containing frequency data as the data var (frequency as in Hz) and grouping variable for x in a boxplot:
  • Warning: Error occurred while executing the listener callback for
  • event EnterObject defined for class
  • matlab.graphics.interaction.actions.Linger:
  • Error using
  • matlab.graphics.axis.dataspace.CartesianDataSpace/TransformPoints
  • DataSpace or ColorSpace transform method failed
  • Error in matlab.graphics.internal.transformDataToWorld (line 29)
  • vertexData = double(hDataSpace.TransformPoints(belowMatrix,iter));
  • Error in
  • matlab.graphics.chart.internal.convertDataSpaceCoordsToViewerCoords
  • (line 44)
  • vertexData = matlab.graphics.internal.transformDataToWorld(hDataSpace,
  • belowMatrix, dataspaceData);
  • Error in
  • matlab.graphics.interaction.uiaxes.Datatips/lingerEnterCallback
  • Error in
  • matlab.graphics.interaction.uiaxes.Datatips>@(o,e)hObj.lingerEnterCallback(o,e)
  • Error in matlab.graphics.interaction.actions.Linger/enterEvent
  • Error in matlab.graphics.interaction.actions.Linger/motionCallback
  • Error in matlab.graphics.interaction.actions.Linger
  • > In matlab.graphics.interaction.actions.Linger/enterEvent
  • In matlab.graphics.interaction.actions.Linger/motionCallback
  • In matlab.graphics.interaction.actions.Linger
The only other Answer I saw pertaining to the transform fail had someone trying to display negative values on a logarithmic scale, but non of my values are negative (although there are NaN values, which must be included for statistical purposed)
Any ideas?

1 个评论

Hi,
Given the warning message, it seems that the issue may be caused by a lower-level graphic issue.
Could you please try running the following command in the MATLAB Command Window before running the application and check if the application still generates warning messages during the execution?
>> opengl software

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Data Distribution Plots 的更多信息

产品

评论:

2025-1-15

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by