Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Set export window using java

Please login with a confirmed email address before reporting spam

Hi,

I'm using the java API to build my 2Dmodel and I made a plot which has a high height-to-width ratio. When I try to create an animation using the java export function, I get a lot of white-space above and below the model since it fits the plot in the width direction. In the GUI this would be solved by resizing the plot window and simply exporting again. I can't find a java command to do this automatically.

I would like to have some sort of java command which allows me to set an export window.

(P.S. I am using Comsol for Linux so my only options are .gif and flash (.swf) and I'm not a big fan of .swf since I can't get it to work in my presentation.)

Any help would be very much appreciated,

With kind regards


0 Replies Last Post 14 févr. 2019, 03:36 UTC−5
COMSOL Moderator

Hello Frits Rooyackers

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.