plot size and public URL

6 visualizzazioni (ultimi 30 giorni)
Phillip Maus
Phillip Maus il 15 Set 2020
Commentato: Shubh Sohal il 6 Ott 2020
Hello,
I made a simple visualization of a sensor measuring temperature and humidity.
Code see below.
How can I change the size (and resolution) of the plot ?
When I use the optional public URL for the plot it's rather small (450 x 262 px) and I would like to have that in a bigger size and better resolution.
I tried "set(gcf,'position',[x0,y0,width,height])" but that did bot work.
Thanks for any help,
Bernd
data1 = thingSpeakRead(1144169, 'NumDays', 2, 'ReadKey', 'OA9EG6GTIQO64OMQ','OutputFormat','timetable');
cleanData1 = fillmissing(data1, 'previous');
yyaxis left;
plot(cleanData1.Timestamps, cleanData1.hum, 'b-');
ylim([50 95]);
grid on;
yyaxis right;
plot(cleanData1.Timestamps, cleanData1.temp, 'r-');
ylim([10 20]);
title('Temperatur und Luftfeuchtigkeit letzte 48h');
  1 Commento
Shubh Sohal
Shubh Sohal il 6 Ott 2020
Hi Phillip, could you please let me know if you are eeing any error when you try to set the position and size of the figure? If any, sharing the exact error message would be helpful.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Visualize Data in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by