Missing axis in uiaxes - matlab - matlab

I used app designer to build an image viewer GUI. When I load an image to app.UIAxes the axis ticks disappear. Any idea how to solve it?

Option 1: Add axis('on');
Option 2: Check the 'Axes visible' option in the Image Processing Toolbox Preferences

Related

typo3 flexslider should user original image and not cropped one

In my typo3 7.6.19 Website I want to user the flexslider plugin.
That works fine, my problem is that the image is a cropped one and not the original file I uploaded.
How can I change it to use the original picture?
Thanks in advance
The plugin sets up a TypoScript constant
plugin.tx_wsflexslider.maxwidth=800px
You can modify this value in your TypoScript template (Module Template > Constant Editor > select "PLUGIN.TX_WSFLEXSLIDER"
About your other problem that is artifacts in the reduced image, I think that when resizing an image from 2550px to 800px, it is probable that the quality will be reduced :) You could check those settings in Install Tool >All Configuration > Image Processing [GFX] and see if you can improve them.
A last word: I would not use images of 2550px, it seems that they will be very heavy! I would try to set a compromise (e.g. plugin.tx_wsflexslider.maxwidth=1200px).
You could also evalutate the extension EXT:image_autoresize https://extensions.typo3.org/extension/image_autoresize/
to automatically resize the images when uploading them and limit the weight or dimensions of the images that your editor will upload.
From this answer typo3 uses crop images how can I avoid this I see that (of course) you can also modify the partial that renders the image and avoid using the TypoScript constants at all, but for the reasons I mentioned above, I would not recommend it.
In TYPO3 10.4.x and ws_slider 0.9.8, it was not a constant but:
<f:image image="{item.foregroundMedia.0}" maxWidth="600" />
in
Resources/Private/Partials/Item/Flexslider.html

How to change icon at title bar in matlab?

I have created a MAT LAB GUI and i want to change the default icon at title bar to my customize icon. Kindly help regarding this issue.
By doing so you will violate the licence agreement which can be found in
..\MATLAB\<>\licence.txt
Practicaly possible: (But don't do it)
let's assume that the figure handle is hFigure, then:
javaFrame = get(hFigure,'JavaFrame');
iconFilePath = 'iconImage.jpg';
javaFrame.setFigureIcon(javax.swing.ImageIcon(iconFilePath));

Draw pie chart in iPhone App

I am new to iPhone,
I want to draw Pie chart in my iPhone app,
After lot of searching i found this Tutorial...
when i download this code and try to run i am getting CorePlot-CocoaTouch.h file not found
you can see in my snapshot CorePlot-CocoaTouch.h file is present still it is showing error.
Any help will be appreciated.
Check the header search path in your app project. Make sure it points to the right directory and is set to "recursive". There is more information on the Core Plot wiki.
try this link , use BNPieChart to draw chart
Call this method to view example.
[BNPieChart pieChartSampleWithFrame:frame]
Download this project and use this but they are using ARC for that. Hope it will help you!
there you will find Pie Chart ,Line Chart,Bar Chart Etc.

MATLAB how can I save an image?

I tried the commands:
imshow(originalImage);
imsave;
it works, but I want the matlab to automatically save the image in bmp format (in the current folder).
I tried to use:
save('myimage.bmp','originalImage');
the picture was saved, but on the image itself, instead of the picture, I saw this message:
"windows photo viewer can't open this picture because the file apears to be damaged, corrupted, or is too large".
(the size of the picture is 5kb).
Thanks!
Use the function imwrite to do that:
imwrite(image_matrix, 'myimage.bmp', 'bmp')
imwrite documentation on mathworks

Eclipse standard warning/error overlay icons

I'm writing an Eclipse plug-in... In my custom label decorator, I want to overlay a warning icon, and I'd like to use the standard one used by eclipse (the little yellow triangle). How can I get an image descriptor of this icon?
I tried using
workbench.getSharedImages().getImageDescriptor(ISharedImages.IMG_DEC_FIELD_WARNING)
since that ID seems to match what I'm looking for, but the shared images collection doesn't actually have that image in it (so I just get a null returned).
Is there some other shared image collection that I should be looking at?
You have run across an Eclipse bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=304397
The bugzilla entry gives this code as workaround:
ImageDescriptor descriptor =
JFaceResources.getImageRegistry().getDescriptor("org.eclipse.jface.fieldassist.IMG_DEC_FIELD_WARNING");