Clear Filters
Clear Filters

How to off the axis in eye diagram and save as image?

2 views (last 30 days)
I have plot the eyediagram of B-FM modulation and i want to remove the axis from it and then save it as png.
I have tried
a = load("E:\SNR-Dataset\frame_snr0\frame_snr0B-FM5330.mat");
eyediagram( a.frame , sps)
set(gca, 'Visible', 'off')
But it remove the axis from only Q phase signal. I have aslo attached the output.
Please how can i proceed.

Accepted Answer

KSSV on 6 Oct 2021
set(get(gcf, 'Children'), 'Visible', 'off')
john karli
john karli on 6 Oct 2021
This code is older version of MATLAB can you please write the code here for lateset MATLAB version?

Sign in to comment.

More Answers (1)

yanqi liu
yanqi liu on 6 Oct 2021
sir, may be use the follows
clc; clear all; close all;
a = load("frame_snr-20B-FM5330.mat");
eyediagram( a.frame , 10)
hs = get(gcf, 'Children');
set(hs, 'Visible', 'off')

Community Treasure Hunt

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

Start Hunting!