plotting generates hidden figure

while plotting i have the following figure, which is hiden. What to do?ray.jpg

3 Comments

Can you post your code?
Please also post the output of
opengl info
>> opengl info
Version: '4.5.0 - Build 23.20.16.4973'
Vendor: 'Intel'
Renderer: 'Intel(R) UHD Graphics 620'
RendererDriverVersion: '23.20.16.4973'
RendererDriverReleaseDate: '28-Feb-2018'
MaxTextureSize: 16384
Visual: 'Visual 0x07, (RGBA 32 bits (8 8 8 8), Z depth 16 bits, Hardware acceleration, Doub…'
Software: 'false'
HardwareSupportLevel: 'full'
SupportsGraphicsSmoothing: 1
SupportsDepthPeelTransparency: 1
SupportsAlignVertexCenters: 1
Extensions: {225x1 cell}
MaxFrameBufferSize: 16384
Your graphics driver is a year out of date. Updating might help.

Sign in to comment.

 Accepted Answer

Instead of using
fplot(pl_f, [0 10])
use
fplot(real(pl_f), [0 10])
Due to round-off, there are small imaginary quantities that fplot thinks are leading to discontinuities.

More Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Products

Release

R2016a

Tags

Community Treasure Hunt

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

Start Hunting!